PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / init / explicit2.C
blob604426ae6d214a9275124aea81e8e7ec32076365
1 // PR c++/60417
2 // { dg-options -pedantic }
4 struct A { explicit A(int = 0); };
6 int main()
8   A a[1] = { };                 // { dg-warning "explicit" "" { target c++11 } }