diff options
Diffstat (limited to 'tests/constructors/t18990.nim')
-rw-r--r-- | tests/constructors/t18990.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/constructors/t18990.nim b/tests/constructors/t18990.nim new file mode 100644 index 000000000..2f60f3c2c --- /dev/null +++ b/tests/constructors/t18990.nim @@ -0,0 +1,3 @@ +import a, b +discard A(1f, 1f) # works +proc x(b = A(1f, 1f)) = discard # doesn't work \ No newline at end of file |