aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/20011015-1.c
blob: 0b751bf409dd514a83609f78855eca5bbe0f5275 (plain)
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);
}