llvm.org GIT mirror llvm / 23cf180
Reinstate this test, it is correct after all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20133 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; Test that a prototype can be marked const, and the definition is allowed
1 ; to be nonconst.
2
3 ; RUN: echo "%X = global int 7" | llvm-as > %t.2.bc
4 ; RUN: llvm-as < %s > %t.1.bc
5 ; RUN: llvm-link %t.[12].bc | llvm-dis | grep constant
6
7 %X = external constant int