1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -verify %s 2*f4a2713aSLionel Sambuc // expected-no-diagnostics 3*f4a2713aSLionel Sambuc test()4*f4a2713aSLionel Sambucvoid test() { 5*f4a2713aSLionel Sambuc int x; 6*f4a2713aSLionel Sambuc do 7*f4a2713aSLionel Sambuc int x; 8*f4a2713aSLionel Sambuc while (1); 9*f4a2713aSLionel Sambuc } 10