New testcase
[oota-llvm.git] / test / Transforms / ConstantMerge / 2002-09-23-CPR-Update.ll
1 ; RUN: llvm-as < %s | opt -constmerge > /dev/null
2
3 %foo = internal constant {int} {int 7} 
4 %bar = internal constant {int} {int 7} 
5
6 implementation
7
8 declare int %test(int*)
9
10 void %foo() {
11         call int %test(int* getelementptr ( {int} * %foo, long 0, ubyte 0))
12         call int %test(int* getelementptr ( {int} * %bar, long 0, ubyte 0))
13         ret void
14 }