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