Clear the examples/issue-* namespace (new layout keeps open-issue repros under
issues/, co-located with their .md). Two legacy files:
- issue-0030 was a feature-request placeholder (trivial main, no real test).
`extern G : T;` cross-file sx globals are still unimplemented (parse error),
so it's an open feature request: issues/0030-extern-global-declarations.{md,sx}.
- issue-0019 was a broken/superseded multi-file fixture (relative imports, not
runnable from root; the non-transitive-#import scenario is covered by the
passing 0706-modules-import-non-transitive). Moved to
issues/0019-import-non-transitive-c-scope/ with a status note; safe to delete.
Suite unchanged: 324 passed.
11 lines
279 B
Plaintext
11 lines
279 B
Plaintext
// Test: calling wrapper functions works (we import the module)
|
|
#import "../modules/std.sx";
|
|
#import "c_wrapper.sx";
|
|
|
|
main :: () -> s32 {
|
|
// This should work: calling the sx wrapper
|
|
result := wrapped_add(10, 20);
|
|
print("wrapped_add(10, 20) = {}\n", result);
|
|
0;
|
|
}
|