minix/external/bsd/llvm/dist/clang/test/SemaCXX/do-while-scope.cpp

10 lines
127 B
C++
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
void test() {
int x;
do
int x;
while (1);
}