Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/noexcept18.C

raw
1 // PR c++/54207
2 // { dg-do compile { target c++11 } }
3
4 typedef bool B;
5 constexpr B foo () { return true; }
6
7 void
8 bar () noexcept (foo ())
9 {
10 }