From 20b5f31c03fb556ec0aa2428a40adbac004d8987 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 13 Jan 2014 02:10:03 +0100 Subject: new tester; all tests categorized --- tests/ambsym/tambsym.nim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/ambsym/tambsym.nim (limited to 'tests/ambsym/tambsym.nim') diff --git a/tests/ambsym/tambsym.nim b/tests/ambsym/tambsym.nim new file mode 100644 index 000000000..902274648 --- /dev/null +++ b/tests/ambsym/tambsym.nim @@ -0,0 +1,15 @@ +discard """ + file: "tambsym.nim" + line: 11 + errormsg: "ambiguous identifier" +""" +# Test ambiguous symbols + +import mambsym1, mambsym2 + +var + v: TExport #ERROR_MSG ambiguous identifier + +v = y + + -- cgit 1.4.1-2-gfad0