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
260 B
Plaintext
11 lines
260 B
Plaintext
// This module imports C functions and provides wrappers
|
|
#import c {
|
|
#include "vendors/test_c/test.h";
|
|
#source "vendors/test_c/test.c";
|
|
};
|
|
|
|
// Wrapper function that calls the C function
|
|
wrapped_add :: (a: s32, b: s32) -> s32 {
|
|
add_numbers(a, b);
|
|
}
|