1// { dg-do run } 2extern "C" void abort (); 3 4struct A { 5 struct stat { 6 int x; 7 stat (int j) { abort (); } 8 }; 9 static int stat (double d) { return 0; } // { dg-bogus "" } cfront takes it 10 static int zap () { 11 stat (0); 12 return stat (1); // { dg-bogus "" } this should work 13 } 14}; 15 16int main () { 17 return A::zap (); 18} 19