blob: f7d2669fb499b4221b1e229808196d1188c5246e [file] [log] [blame]
// RUN: %clang_cc1 %s -verify -fsyntax-only
void f1(int n) {
typedef int x[n];
const x y; // expected-error {{default initialization of an object of const type 'const x' (aka 'const int[n]')}}
}