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