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