Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
explicit2.C
blob: 604426ae6d214a9275124aea81e8e7ec32076365 [
file
] [
log
] [
blame
]
// PR c++/60417
// { dg-options -pedantic }
struct
A
{
explicit
A
(
int
=
0
);
};
int
main
()
{
A a
[
1
]
=
{
};
// { dg-warning "explicit" "" { target c++11 } }
}