Files
c3c/test/test_suite/attributes/wasm_import.c3t
2024-09-24 21:31:48 +02:00

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