diff options
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.rs')
-rw-r--r-- | vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.rs b/vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.rs new file mode 100644 index 000000000..56c5900c0 --- /dev/null +++ b/vendor/wasm-bindgen-macro/ui-tests/traits-not-implemented.rs @@ -0,0 +1,11 @@ +use wasm_bindgen::prelude::*; + +struct A; + +#[wasm_bindgen] +extern "C" { + #[wasm_bindgen] + pub fn foo(a: A); +} + +fn main() {} |