Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept43.C
blobfaa7d146029c713d76ce7e4f3d13724cbfad698d
1 // PR c++/90490
2 // { dg-do compile { target c++11 } }
4 struct R { constexpr operator bool() { return false;} };
6 template <typename>
7 struct S {
8   void g() noexcept(decltype(R{ }) { }) {
9   }