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 test()10 void test() 11 { 12 Functions<true> f{}; 13 } 14