forked from OSchip/llvm-project
9 lines
178 B
C++
9 lines
178 B
C++
|
// 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}}
|
||
|
}
|