1 /* Test basic section anchor functionality.  */
2 
3 /* { dg-do compile { target { lp64 } } } */
4 /* { dg-options "-O3 -march=z13" } */
5 
6 int a = 1, b = 2;
7 
8 void
f()9 f ()
10 {
11   a = 1234;
12   b = 5678;
13   /* { dg-final { scan-assembler {(?n)\n\tlarl\t(%r\d+),\.LANCHOR\d+\n\tmvhi\t\d+\(\1\),1234\n\tmvhi\t\d+\(\1\),5678} } } */
14 }
15