Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ctor10.C
blob194cc7cd5812bc16e1e3ea850529746b75474154
1 // PR c++/52599
2 // { dg-do compile { target c++11 } }
4 struct foo {
5   constexpr foo() try { } catch(...) { };  // { dg-error "constexpr" "" { target c++17_down } }
6 };