FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / for2.C
blobfd01804d86b3584b9e1a5f13b5ddbf76a392c08f
1 // Build don't link:
3 void foo() {
4   for (class C {};;)
5     ;
6   C c;          // ERROR - 
9 void bar() {
10   for (enum E {num};;)
11     ;
12   E e;          // ERROR - 
15 void bee () {
16   int i = 0;
17   for (int fun() = 0; i != 2; ++i) {    // ERROR - 
18   }