Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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" }