// RUN: %clang_cc1 %s -verify -fsyntax-only -pedantic
int
// PR2347
void
// PR3048
int x = sizeof; // expected-error {{fields must have a constant size}}
// PR2352
void
// PR2361
int i;
int c; // expected-error {{variably modified type declaration not allowed at file scope}}
int d; // expected-error {{variable length array declaration not allowed at file scope}}
; // expected-error {{variably modified type declaration not allowed at file scope}}
void
// PR3663
static const unsigned array; // expected-warning {{variable length array folded to constant array as an extension}}
int a; // expected-error {{star modifier used outside of function prototype}}
int ;
// PR2044
int // expected-error {{variably modified type}}
int pr2044b;
; // expected-error {{variably modified type}}
const int f5_ci = 1;
void // expected-error {{variable-sized object may not be initialized}}
// PR5185
void ;
void
void
// Make sure this isn't treated as an error
int
// PR36157
;
= implicitly_declared; // ok, was implicitly declared at file scope
void
void
const int pr44406_a = 32;
typedef struct pr44406_s;
void