1 // PR c++/60224 2 3 struct A {}; 4 foo()5 void foo() 6 { 7 bool b[] = (int (A::*)())0; // { dg-error "" } 8 } 9