Skip to content

Commit

Permalink
add a testcase for laxeffects (#20750)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Nov 4, 2022
1 parent 4503fa5 commit 090661d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/effects/tlaxeffects.nim
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 090661d

Please sign in to comment.