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