rust/src/test/ui/wasm-import-module.rs

11 lines
282 B
Rust

#[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" {}
fn main() {}