21 lines
308 B
Plaintext
21 lines
308 B
Plaintext
package foo:foo;
|
|
|
|
world foo {
|
|
import foo: func();
|
|
export foo2: func();
|
|
|
|
import bar: func(arg: u32);
|
|
export bar2: func() -> u32;
|
|
|
|
import some-interface: interface {}
|
|
export another-interface: interface {}
|
|
}
|
|
|
|
world just-import {
|
|
import foo: func();
|
|
}
|
|
|
|
world just-export {
|
|
export foo: func();
|
|
}
|