This commit is contained in:
Varriount 2014-10-23 21:49:38 -04:00 • committed by Clay Sweetser
commit a8a9dd6699
3 changed files with 17 additions and 1 deletions

View file

@ -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