1 // PR c++/33495 2 foo()3 void foo() 4 { 5 if (({while(true);})) // { dg-error "forbids|<statement>" } 6 ; 7 } 8