1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* { dg-do compile } */ /* { dg-options "-O3 -std=gnu99" } */ char foo (char *x) { return *x; } void bar (char *x) { void *arr[foo (x)] __attribute__((unused)); } void baz (char *x) { bar (x); }