mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Allow specifying an import module using @wasm #1305.
This commit is contained in:
5
test/test_suite/attributes/wasm_module.c3
Normal file
5
test/test_suite/attributes/wasm_module.c3
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
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() @extern("hello") @wasm("a"); // #error: An external name
|
||||
extern fn void test4() @extern("hello") @wasm("a", "b"); // #error: An external name
|
||||
Reference in New Issue
Block a user