Debian Codegraph @

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

raw
1 // PR c++/90490
2 // { dg-do compile { target c++11 } }
3
4 struct R { constexpr operator bool() { return false;} };
5
6 template <typename>
7 struct S {
8 void g() noexcept(decltype(R{ }) { }) {
9 }
10 };