mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Rename @extern to @cname, deprecating the old name #2493.
This commit is contained in:
@@ -1,5 +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
|
||||
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
|
||||
Reference in New Issue
Block a user