Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wnoexcept2.C
blob: 60541be3575c56b1f586ef5e31e2045c2ecc756b [
file
] [
log
] [
blame
]
// PR c++/93805
// { dg-do compile { target c++11 } }
// { dg-additional-options "-Wnoexcept" }
struct
B
{
B
()
{}
};
struct
C
{
B b
=
B
();
};
C c
;
// { dg-bogus "noexcept-expression" }