summaryrefslogtreecommitdiff
path: root/test/MC/WebAssembly/null-output.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/WebAssembly/null-output.s')
-rw-r--r--test/MC/WebAssembly/null-output.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/WebAssembly/null-output.s b/test/MC/WebAssembly/null-output.s
new file mode 100644
index 000000000000..a25d095e0cbe
--- /dev/null
+++ b/test/MC/WebAssembly/null-output.s
@@ -0,0 +1,10 @@
+# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj -o /dev/null < %s
+
+ .text
+ .section .text.main,"",@
+ .type main,@function
+main:
+ .functype main (i32, i32) -> (i32)
+ end_function
+.Lfunc_end0:
+ .size main, .Lfunc_end0-main