blob: 0d4eae5c4542892d6f66628d0bb6133e912e3e63 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Os -msdata" } */
/* Check interaction between section anchors and small data. */
const int a[1] = {};
static short b[] = {};
int c;
const int* fn1 (void)
{
return a + b[c];
}
/* { dg-final { scan-assembler "@c@sda" } } */