// 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}}
do
while // expected-error {{while loop outside of a function}}
;
void
;