summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/for1.C
blob: 1e310ee02e15a51ac7dd24cc4f21840f7ea25083 (plain)
1
2
3
4
5
6
7
// PR c++/23440
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// { dg-do compile }
// { dg-options "" }

# 0 "for1.C"
void foo() { for (;;)  // { dg-error "at end of input" "" { target *-*-* } 0 }