modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr48517.c (about)

     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  }