Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Aug 27, 2024
1 parent a8b7388 commit 74c3ed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ccgbugs/t20141.nim
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ template n[T, U](x: U): T =

proc k() =
var res: A
m(n[B](res))
m(n[B, A](res))

proc w(mounter: U) = discard

proc mount(proto: U) = discard
proc v() = mount k

# This is required for failure
w(v)
w(v)

0 comments on commit 74c3ed1

Please sign in to comment.