// RUN: %clang_cc1 %s -fsyntax-only -verify -verify=c2x -pedantic -Wno-strict-prototypes
// PR1892, PR11354
void // expected-error {{(aka 'double (*restrict)[5]')}}
int ;
int ;
void ; // expected-note {{previous declaration is here}}
void ; // expected-error{{conflicting types for 'func'}}
void ;
void
void ; // expected-note {{previous declaration is here}}
void // expected-error{{conflicting types for 'h'}}
// PR1965
int ; // expected-error {{parameter list without types}}
int ; // expected-warning {{type specifier missing, defaults to 'int'}}
int ; // expected-error {{expected parameter declarator}} expected-error {{expected parameter declarator}}
int ; // expected-error {{expected parameter declarator}}
int ; // expected-error {{expected parameter declarator}}
// PR2042
void
void // expected-warning{{too many arguments}}
// PR3208
void // c2x-warning{{omitting the parameter name in a function definition is a C2x extension}}
// PR2790
void
int
// <rdar://problem/6097326>
// expected-warning{{parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int}} \
// expected-warning{{type specifier missing, defaults to 'int'}}
// PR3137, <rdar://problem/6127293>
extern int ;
void
void
void
struct incomplete_test // expected-error{{incomplete result type 'struct incomplete_test' in function definition}} \
// expected-note{{forward declaration of 'struct incomplete_test'}}
extern __inline
void
void
// expected-warning {{'gnu_inline' attribute requires function to be marked 'inline', attribute ignored}}
// rdar://6802350
inline foo_t
typedef void ;
fn_t t17;
// PR4049
unknown_type
unknown_type
// missing ',' before '...'
void // expected-error {{requires a comma}}
int n;
void ;
int
void ; // expected-note {{passing argument to parameter 'a' here}}
void ; // expected-note {{passing argument to parameter 'a' here}}
void
void const ; // ok on decl
// PR 20146
void const