1 ; RUN: llvm-as < %s | opt -constmerge | llvm-dis | grep foo
2 ; RUN: llvm-as < %s | opt -constmerge | llvm-dis | grep bar
4 ; Don't merge constants in different sections.
6 %G1 = internal constant int 1, section "foo"
7 %G2 = internal constant int 1, section "bar"
8 %G3 = internal constant int 1, section "bar"
10 void %test(int** %P1, int **%P2, int **%P3) {
11 store int* %G1, int** %P1
12 store int* %G2, int** %P2
13 store int* %G3, int** %P3