// RUN: %clang_cc1 -fsyntax-only -verify -Wno-strict-prototypes %s
// rdar: // 8125274
static int a16; // expected-warning {{tentative array definition assumed to have one element}}
void
// PR10013: Scope of extern declarations extend past enclosing block
extern int PR10013_x;
int
static int test1_a; // expected-warning {{tentative array definition assumed to have one element}}
extern int test1_a;
// rdar://13535367
void
extern int test2_array;
int test2v = sizeof; // expected-error {{invalid application of 'sizeof' to an incomplete type 'int[]'}}
void
void
// Test that invalid local extern declarations of library
// builtins behave reasonably.
extern void ; // expected-note 2 {{previous declaration is here}}
extern float *; // expected-warning {{incompatible redeclaration of library function}} expected-note {{is a builtin}} expected-note 2 {{previous declaration is here}}
void
void
void
void