vla.c revision 65383479cb2caf0f136f58fecdbdbaf9c497b7a1
1// RUN: clang %s -verify -fsyntax-only
2
3int test1() {
4  typedef int x[test1()];  // vla
5  static int y = sizeof(x);  // expected-error {{not constant}}
6}
7
8