blob: 8d3d434d899cb855c4e246800b89d9fc4d33e877 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -constmerge > /dev/null
2
3%foo = internal constant {int} {int 7}
4%bar = internal constant {int} {int 7}
5
6implementation
7
8declare int %test(int*)
9
10void %foo() {
11 call int %test(int* getelementptr ( {int} * %foo, long 0, uint 0))
12 call int %test(int* getelementptr ( {int} * %bar, long 0, uint 0))
13 ret void
14}