X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLinker%2F2005-02-12-ConstantGlobals-2.ll;h=bedeb51069504d19f6f37b87a6c1c5e8c945d378;hb=befc9c16fae1719cafe9f54ab2b67219db44dc11;hp=6de77479cf4cfa8a7a3a1a6e986ca35997092fdf;hpb=5b7dcaa96be8da5c2fd5311994c759dc6db7c8c4;p=oota-llvm.git diff --git a/test/Linker/2005-02-12-ConstantGlobals-2.ll b/test/Linker/2005-02-12-ConstantGlobals-2.ll index 6de77479cf4..bedeb510695 100644 --- a/test/Linker/2005-02-12-ConstantGlobals-2.ll +++ b/test/Linker/2005-02-12-ConstantGlobals-2.ll @@ -1,8 +1,8 @@ ; Test that a prototype can be marked const, and the definition is allowed ; to be nonconst. -; RUN: echo "%X = external constant int" | llvm-as > %t.2.bc +; RUN: echo {@X = external constant i32} | llvm-as > %t.2.bc ; RUN: llvm-as < %s > %t.1.bc -; RUN: llvm-link %t.[12].bc | llvm-dis | grep 'global int 7' +; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep {global i32 7} -%X = global int 7 +@X = global i32 7