tmismatchedvisibility.nim 248 B

12345678910
  1. discard """
  2. line: 8
  3. errormsg: "public implementation 'tmismatchedvisibility.foo(a: int)[declared in tmismatchedvisibility.nim(6, 5)]' has non-public forward declaration in "
  4. """
  5. proc foo(a: int): int
  6. proc foo*(a: int): int =
  7. result = a + a