// RUN: %clang_cc1 -fsyntax-only -verify %s
while // expected-error {{while loop outside of a function}}
;
// without semicolon
while // expected-error {{while loop outside of a function}}
int ; // expected-note {{previous declaration is here}}
void
while // expected-error {{while loop outside of a function}}
;
void ;
void