RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr48517.c
blob4cfe038220b6a2a6c277920d682f2629fade98c5
1 /* PR c/48517 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu89" } */
5 void bar (const unsigned short *);
7 void
8 foo (void)
10 static const unsigned short array[] = (const unsigned short []) { 0x0D2B };
11 const unsigned short *ptr = array;
12 bar (ptr);