You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
292 B
12 lines
292 B
// RUN: %clang_cc1 -triple wasm32-unknown-unknown-wasm -emit-llvm -o - %s | FileCheck %s
|
|
|
|
void __attribute__((import_module("bar"))) foo(void);
|
|
|
|
void call(void) {
|
|
foo();
|
|
}
|
|
|
|
// CHECK: declare void @foo() [[A:#[0-9]+]]
|
|
|
|
// CHECK: attributes [[A]] = {{{.*}} "wasm-import-module"="bar" {{.*}}}
|