diff options
Diffstat (limited to 'src/test/ui/wasm/wasm-import-module.rs')
-rw-r--r-- | src/test/ui/wasm/wasm-import-module.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/ui/wasm/wasm-import-module.rs b/src/test/ui/wasm/wasm-import-module.rs deleted file mode 100644 index bff08847d..000000000 --- a/src/test/ui/wasm/wasm-import-module.rs +++ /dev/null @@ -1,21 +0,0 @@ -#![feature(link_cfg)] - -#[link(name = "...", wasm_import_module)] //~ ERROR: must be of the form -extern "C" {} - -#[link(name = "...", wasm_import_module(x))] //~ ERROR: must be of the form -extern "C" {} - -#[link(name = "...", wasm_import_module())] //~ ERROR: must be of the form -extern "C" {} - -#[link(wasm_import_module = "foo", name = "bar")] //~ ERROR: `wasm_import_module` is incompatible with other arguments -extern "C" {} - -#[link(wasm_import_module = "foo", kind = "dylib")] //~ ERROR: `wasm_import_module` is incompatible with other arguments -extern "C" {} - -#[link(wasm_import_module = "foo", cfg(FALSE))] //~ ERROR: `wasm_import_module` is incompatible with other arguments -extern "C" {} - -fn main() {} |