mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
8 lines
305 B
Plaintext
8 lines
305 B
Plaintext
// #target: wasm32
|
|
module test;
|
|
extern fn void test() @wasm("hello", "world");
|
|
|
|
/* #expect: test.ll
|
|
|
|
declare void @world() #0
|
|
attributes #0 = { nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "wasm-export-name"="world" "wasm-import-module"="hello" "wasm-import-name"="world" } |