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