// RUN: %clang_cc1 -fsyntax-only -verify=c2x -std=c2x %s
// RUN: %clang_cc1 -Wno-strict-prototypes -fsyntax-only -verify -std=c17 %s
// expected-no-diagnostics
// Functions with an identifier list are not supported in C2x.
void int a;
// c2x-error {{expected identifier or '('}}
// Functions with an empty parameter list are supported as though the function
// was declared with a parameter list of (void). Ensure they still parse.
void ;
void
;
typedef void ;