1 // { dg-do compile { target c++11 } } 2 3 // { dg-options "" } 4 5 union b; 6 7 struct S { 8 template <typename> aS9 void a() 10 try { 11 } catch (int () 12 noexcept (({ union b a; true; }))) // { dg-error "constant" } 13 { 14 } 15 }; 16