## Tests forward declarations import std; fn foo: int; print(foo() == 42); fn foo: int {return 42;} # Commenting this line will cause an error # Note: The forward declaration and its corresponding implementation # must have the same visibility!