blob: 4cfe038220b6a2a6c277920d682f2629fade98c5 [file] [log] [blame]
/* PR c/48517 */
/* { dg-do compile } */
/* { dg-options "-std=gnu89" } */
void bar (const unsigned short *);
void
foo (void)
{
static const unsigned short array[] = (const unsigned short []) { 0x0D2B };
const unsigned short *ptr = array;
bar (ptr);
}