summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/do-while-scope.cpp
blob: 2602ae12f243b728328ab4160dc0945144a39386 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -fsyntax-only -verify %s 

void test() {
  int x;
  do
    int x;
  while (1);
}