summaryrefslogtreecommitdiff
path: root/test/MC/WebAssembly/null-output.s
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-06-11 18:16:27 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-06-11 18:16:27 +0000
commit687a64222b4c87c825258d4dfeb1f0794e8cb300 (patch)
treef15e528223c9e06e4ed874e21ad41c2eb169030b /test/MC/WebAssembly/null-output.s
parent24eadf6f46cd3637ffe867648ce8eca7314115c6 (diff)
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 0000000000000..a25d095e0cbef
--- /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