| 1 |
/* PR c/48517 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-std=gnu89" } */ |
| 4 |
|
| 5 |
void bar (const unsigned short *); |
| 6 |
|
| 7 |
void |
| 8 |
foo (void) |
| 9 |
{ |
| 10 |
static const unsigned short array[] = (const unsigned short []) { 0x0D2B }; |
| 11 |
const unsigned short *ptr = array; |
| 12 |
bar (ptr); |
| 13 |
} |