New basic testcase for the constifier

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15733 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-08-14 20:44:09 +00:00
parent 68fb37ad67
commit 0c3bba3d9c

View File

@ -0,0 +1,9 @@
; 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
}