mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Moved tests from scripts/ to test/scripts/
This commit is contained in:
11
test/scripts/separate-exports.toy
Normal file
11
test/scripts/separate-exports.toy
Normal file
@@ -0,0 +1,11 @@
|
||||
//test exports
|
||||
var field: int = 42;
|
||||
|
||||
fn function() {
|
||||
return 69;
|
||||
}
|
||||
|
||||
export field;
|
||||
export function;
|
||||
|
||||
print "All good";
|
||||
Reference in New Issue
Block a user