summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr22013-1.c
blob: 1dd0adcffc6d249229e679435e7f635db5ee36b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
typedef unsigned short W;
typedef const W *P;

extern void g(P);

void
f ()
{
  const P s = (const W []){ 'R' };
  g (s);
}