1 /* { dg-do compile } */
2 /* { dg-options "-Os -msdata" } */
3
4 /* Check interaction between section anchors and small data. */
5
6 const int a[1] = {};
7 static short b[] = {};
8
9 int c;
10
11 const int* fn1 (void)
12 {
13 return a + b[c];
14 }
15 /* { dg-final { scan-assembler "@c@sda" } } */