diff options
Diffstat (limited to 'tests/openarray/topena1.nim')
-rw-r--r-- | tests/openarray/topena1.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/openarray/topena1.nim b/tests/openarray/topena1.nim new file mode 100644 index 000000000..0dbc5506a --- /dev/null +++ b/tests/openarray/topena1.nim @@ -0,0 +1,12 @@ +discard """ + file: "topena1.nim" + line: 9 + errormsg: "invalid type" +""" +# Tests a special bug + +var + x: ref openarray[string] #ERROR_MSG invalid type + + + |