summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wc90-c99-compat-7.c
blob: fbf0b0d59c6227503772cd23239a9b5df9b22b31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-std=gnu90 -Wpedantic -Wc90-c99-compat -Wno-long-long -Wno-declaration-after-statement -Wno-vla" } */

long long l;

void
fn3 (int n)
{
  n = 3;
  int i;
}

void fn7 (int n, int a[n]);