Chris Lattner 0c3bba3d9c New basic testcase for the constifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15733 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-14 20:44:09 +00:00

10 lines
141 B
Plaintext

; RUN: llvm-as < %s | opt -constify | llvm-dis | not grep global
%X = internal global int 4
int %foo() {
%V = load int* %X
ret int %V
}