Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
eh
/
pr84968.C
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" }
{
}
};