blob: 23c49f477a8855a4cb2e111a1705f673654b834f [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options "" }
union b;
struct S {
template <typename>
void a()
try {
} catch (int ()
noexcept (({ union b a; true; }))) // { dg-error "constant" }
{
}
};