1 // PR c++/60417 2 // { dg-options -pedantic } 3 4 struct A { explicit A(int = 0); }; 5 main()6 int main() 7 { 8 A a[1] = { }; // { dg-warning "explicit" "" { target c++11 } } 9 } 10