diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-11-04 12:43:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 12:43:32 +0800 |
commit | 090661d46cefdb62ff376fd2ce316c5a052752f3 (patch) | |
tree | 4087faa5758e0732ac1ea947fe3c25ad82791816 | |
parent | 4503fa5422db80ef8286113780af9d526b953574 (diff) | |
download | Nim-090661d46cefdb62ff376fd2ce316c5a052752f3.tar.gz |
add a testcase for laxeffects (#20750)
-rw-r--r-- | tests/effects/tlaxeffects.nim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/effects/tlaxeffects.nim b/tests/effects/tlaxeffects.nim new file mode 100644 index 000000000..7eedc372a --- /dev/null +++ b/tests/effects/tlaxeffects.nim @@ -0,0 +1,11 @@ +discard """ + cmd: "nim $target $options --legacy:laxEffects $file" +""" + + +type + Foo = object + bar: seq[Foo] + +proc `==`(a, b: Foo): bool = + a.bar == b.bar |