X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFeature%2Fsmall.ll;h=4644f6421bc289ba27536e2593fbc4a8593fb0fb;hb=7c1683d47c960a66dc0e006f789962b3f10d6f45;hp=59e6b1197c0d55f3b82da3654b2ee45dc49c3a53;hpb=0ed483398664328fa68f0def0db4224ea8757825;p=oota-llvm.git diff --git a/test/Feature/small.ll b/test/Feature/small.ll index 59e6b1197c0..4644f6421bc 100644 --- a/test/Feature/small.ll +++ b/test/Feature/small.ll @@ -1,10 +1,11 @@ -%x = type int +; RUN: llvm-as < %s | llvm-dis > %t1.ll +; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll +; RUN: diff %t1.ll %t2.ll -implementation +%x = type i32 -int "foo"(int %in) -begin -label: - ret int 2 -end +define i32 @foo(i32 %in) { +label: + ret i32 2 +}