1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/WebAssembly/null-output.s
Sam Clegg 6a6e82ba16 [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