☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wnoexcept2.C
☽
☼
gcc/testsuite/g++.dg/warn/Wnoexcept2.C
code
plain
raw
1
// PR c++/93805
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options "-Wnoexcept" }
4
5
struct B
6
{
7
B() {}
8
};
9
10
struct C
11
{
12
B b = B();
13
};
14
15
C c; // { dg-bogus "noexcept-expression" }