blob: c8f59f24cf4d70e5ea14daa101bc41668f74fa36 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade %s -o - | llvm-as -o /dev/null -f
2; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > Output/t1.ll
3; RUN: llvm-as Output/t1.ll -o - | llvm-dis > Output/t2.ll
4; RUN: diff Output/t1.ll Output/t2.ll
5
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}