1 // { dg-options -std=c++0x } 2 3 struct booleable { 4 bool data; 5 constexpr explicit operator bool() { return data; } 6 }; 7 truthy_func()8constexpr booleable truthy_func() { return {true}; } 9 funky()10void funky() noexcept(truthy_func()) {} 11 main()12int main() { 13 funky(); 14 return 0; 15 } 16