blob: b0ee056ef379e0730be8e55666e3d34b68797f0f (
plain) (
blame)
1
2
3
4
5
6
7
8
|
// RUN: clang-cc -fsyntax-only -verify %s
void f0(int i) {
char array[i]; // expected-error{{variable length arrays}}
}
void f1(int i[static 5]) { // expected-error{{C99}}
}
|