X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFeature%2Fweak_constant.ll;h=fba7f12e1dee433aca5f56ee90c25f1daf5c90d4;hb=54c251c77ff818dad2496f0069e780cf3cb9066f;hp=d27adfefa57fcd84f3d45cda04885a6954e48435;hpb=ab6b226978644c438a3a7768a06dcd48509d000c;p=oota-llvm.git diff --git a/test/Feature/weak_constant.ll b/test/Feature/weak_constant.ll index d27adfefa57..fba7f12e1de 100644 --- a/test/Feature/weak_constant.ll +++ b/test/Feature/weak_constant.ll @@ -1,10 +1,10 @@ -; RUN: llvm-as < %s | opt -std-compile-opts | llvm-dis > %t +; RUN: opt < %s -std-compile-opts -S > %t ; RUN: grep undef %t | count 1 ; RUN: grep 5 %t | count 1 ; RUN: grep 7 %t | count 1 ; RUN: grep 9 %t | count 1 - type { i32, i32 } ; type %0 + %0 = type { i32, i32 } ; type %0 @a = weak constant i32 undef ; [#uses=1] @b = weak constant i32 5 ; [#uses=1] @c = weak constant %0 { i32 7, i32 9 } ; <%0*> [#uses=1]