Sam Clegg c0affde863 [WebAssembly] MC: Fix for outputing wasm object to /dev/null
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D57479

llvm-svn: 352806
2019-01-31 22:38:22 +00:00

11 lines
256 B
ArmAsm

# 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