summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/main-jsvalue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen-macro/ui-tests/main-jsvalue.rs')
-rw-r--r--vendor/wasm-bindgen-macro/ui-tests/main-jsvalue.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/wasm-bindgen-macro/ui-tests/main-jsvalue.rs b/vendor/wasm-bindgen-macro/ui-tests/main-jsvalue.rs
new file mode 100644
index 000000000..d2f5816ac
--- /dev/null
+++ b/vendor/wasm-bindgen-macro/ui-tests/main-jsvalue.rs
@@ -0,0 +1,9 @@
+use wasm_bindgen::prelude::*;
+
+#[wasm_bindgen(main)]
+fn main() -> Result<(), JsValue> {
+ unimplemented!()
+}
+
+#[wasm_bindgen(main)]
+fn fail() {}