diff options
Diffstat (limited to 'tests/lookups/tambsym3.nim')
-rw-r--r-- | tests/lookups/tambsym3.nim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/lookups/tambsym3.nim b/tests/lookups/tambsym3.nim new file mode 100644 index 000000000..6bbebca10 --- /dev/null +++ b/tests/lookups/tambsym3.nim @@ -0,0 +1,13 @@ +discard """ + errormsg: "ambiguous identifier: 'mDec' -- use one of the following:" + file: "tambsym3.nim" + line: 11 +""" +# Test ambiguous symbols + +import mambsym1, times + +var + v = mDec #ERROR_MSG ambiguous identifier + +writeLine(stdout, ord(v)) |