diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/modules/tmodulesymtype.nim | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/modules/tmodulesymtype.nim b/tests/modules/tmodulesymtype.nim new file mode 100644 index 000000000..b1378ab69 --- /dev/null +++ b/tests/modules/tmodulesymtype.nim @@ -0,0 +1,15 @@ +discard """ +cmd: "nim check $file" +""" + +# bug #19225 +import std/sequtils +sequtils #[tt.Error +^ expression has no type: sequtils]# +proc foo() = + block: #[tt.Error + ^ expression has no type: block: + sequtils]# + sequtils + +foo() |