Debian Codegraph @

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

raw
1 // PR c++/95562
2 // { dg-do compile { target c++11 } }
3
4 template <bool Nothrow>
5 struct Functions
6 {
7 void (*func)(void*) noexcept(Nothrow);
8 };
9
10 void test()
11 {
12 Functions<true> f{};
13 }