blob: fdb4657c672c886160c67afbae688c2e3495bebe [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade %s -o - | llvm-as -o /dev/null -f
Duncan Sandsa524e0e2007-07-23 15:23:35 +00002; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > t1.ll
3; RUN: llvm-as t1.ll -o - | llvm-dis > t2.ll
4; RUN: diff t1.ll t2.ll
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005
6
7module asm "this is an inline asm block"
8module asm "this is another inline asm block"
9
10int %test() {
11 %X = call int asm "tricky here $0, $1", "=r,r"(int 4)
12 call void asm sideeffect "eieio", ""()
13 ret int %X
14}