blob: 85d0436114f007f49b33d5eaa4f40022dc8d96ac [file] [log] [blame]
Misha Brukmane78760e2003-09-16 15:29:54 +00001; RUN: llvm-as < %s | opt -constmerge > /dev/null
Chris Lattner10b37b62002-09-23 22:31:04 +00002
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, ubyte 0))
12 call int %test(int* getelementptr ( {int} * %bar, long 0, ubyte 0))
13 ret void
14}