Files
c3c/test/test_suite/attributes/wasm_module.c3
2025-10-25 15:55:25 +02:00

5 lines
327 B
Plaintext

fn void test() @wasm("hello", "world") { } // #error: Specifying a wasm import module
extern fn void test2() @wasm("a", "b", "c"); // #error: Too many arguments to
extern fn void test3() @cname("hello") @wasm("a"); // #error: An external name
extern fn void test4() @cname("hello") @wasm("a", "b"); // #error: An external name