diff options
author | Araq <rumpf_a@web.de> | 2014-11-03 12:01:07 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-11-03 12:01:07 +0100 |
commit | 8853023fd8c0ecd241b22a674db62723f4bf0305 (patch) | |
tree | 0e578fa8899731ce82609ee72a8e1a35f1474b49 /tests | |
parent | adad2d5f4aa9940278e4baab25d757246c74d4a2 (diff) | |
parent | 1b4dd6f61e311e774b218173b9b4f47c9a78ac8d (diff) | |
download | Nim-8853023fd8c0ecd241b22a674db62723f4bf0305.tar.gz |
Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak
Diffstat (limited to 'tests')
-rw-r--r-- | tests/modules/tmismatchedvisibility.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/modules/tmismatchedvisibility.nim b/tests/modules/tmismatchedvisibility.nim new file mode 100644 index 000000000..6f2f79282 --- /dev/null +++ b/tests/modules/tmismatchedvisibility.nim @@ -0,0 +1,9 @@ +discard """ + line: 8 + errormsg: "public implementation 'tmismatchedvisibility.foo(a: int): int' has non-public forward declaration in tmismatchedvisibility.nim(6,5)" +""" + +proc foo(a: int): int + +proc foo*(a: int): int = + result = a + a \ No newline at end of file |