Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-ctor10.C

raw
1 // PR c++/52599
2 // { dg-do compile { target c++11 } }
3
4 struct foo {
5 constexpr foo() try { } catch(...) { }; // { dg-error "constexpr" "" { target c++17_down } }
6 };