8 lines
344 B
Plaintext
8 lines
344 B
Plaintext
// Declaration-before-import twin of ../modfn_coexist/main.ww. The distinct
|
|
// local name follows Go's import/package-scope collision rule while retaining
|
|
// the order-independence check for installing a real import binding.
|
|
package main;
|
|
fn localaa() i32 = { return 1; };
|
|
import aa;
|
|
export fn main() i32 = { return localaa() + aa.helper(); };
|