summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr37303.c
blob: bd9f4a8a6c548eb61cda20f11c17d20805d9f594 (plain)
1
2
3
4
5
/* { dg-do compile { target *-*-elf* *-*-gnu* } } */
/* { dg-options "-std=c99" }
/* { dg-final { scan-assembler "rdata|rodata" } } */

struct S { const int *x; } s = { (const int[]){1, 2, 3} };