Files
sx/examples/issue-0019/main_good.sx
2026-03-06 10:46:28 +02:00

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;
}