1 // PR c++/23440 2 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de> 3 // { dg-do compile } 4 // { dg-options "" } 5 6 # 0 "for1.C" foo()7 void foo() { for (;;) // { dg-error "at end of input" "" { target *-*-* } 0 } 8