...
This commit is contained in:
14
example/src/main.nub
Normal file
14
example/src/main.nub
Normal file
@@ -0,0 +1,14 @@
|
||||
module "main"
|
||||
import "test"
|
||||
|
||||
export extern "puts" func puts(text: cstring)
|
||||
|
||||
export struct Test1
|
||||
{
|
||||
test2: ^test::Test2
|
||||
}
|
||||
|
||||
extern "main" func main(args: []cstring): i64
|
||||
{
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user