c++: ICE when late parsing noexcept/NSDMI [PR98333]
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept62.C
1 // PR c++/98333
2 // { dg-do compile { target c++11 } }
3
4 struct T {
5 template <bool N>
6 struct S {
7 S () noexcept (N) {}
8 };
9 int a = __has_nothrow_constructor (S<true>);
10 };