aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr57184.c
blob: 319d3fd5312f817045e77cee5a7f74e8269e4442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR debug/57184 */
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */

struct S {};
void bar (struct S *const);
static struct S *const c = &(struct S) {};

void
foo (void)
{
  bar (c);
}