diff --git a/retest/standalone/first/file.nat b/retest/standalone/call_other_file/file.nat similarity index 100% rename from retest/standalone/first/file.nat rename to retest/standalone/call_other_file/file.nat diff --git a/retest/standalone/call_other_file/main.nat b/retest/standalone/call_other_file/main.nat new file mode 100644 index 0000000..45970a5 --- /dev/null +++ b/retest/standalone/call_other_file/main.nat @@ -0,0 +1,6 @@ +import "file.nat"; + +fn [cc(.c)] main [export]() s32 +{ + return file.foo(); +} diff --git a/retest/standalone/first/main.nat b/retest/standalone/first/main.nat index 45970a5..672fa11 100644 --- a/retest/standalone/first/main.nat +++ b/retest/standalone/first/main.nat @@ -1,6 +1,4 @@ -import "file.nat"; - fn [cc(.c)] main [export]() s32 { - return file.foo(); + return 0; }