Debian Codegraph @

gcc/testsuite/g++.dg/init/explicit2.C

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