1 // PR c++/60215 2 // { dg-do compile { target c++11 } } 3 4 struct A 5 { 6 void foo(); 7 int i : foo; // { dg-error "width" } 8 }; 9