mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
10 lines
248 B
Nim
10 lines
248 B
Nim
discard """
|
|
line: 8
|
|
errormsg: "public implementation 'tmismatchedvisibility.foo(a: int)[declared in tmismatchedvisibility.nim(6, 5)]' has non-public forward declaration in "
|
|
"""
|
|
|
|
proc foo(a: int): int
|
|
|
|
proc foo*(a: int): int =
|
|
result = a + a
|