Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
local-fn4.C
blob: f8522dd77e818824f652ee1d1983599102f4afc8 [
file
] [
log
] [
blame
]
// PR c++/97186
// ICE in exception spec substitution
// { dg-do compile { target c++11 } }
template
<
class
GG
>
struct
no
{
static
void
tg
()
{
void
hk
()
noexcept
(
tg
);
// { dg-error "convert" }
hk
();
}
};
void
os
()
{
no
<int>
().
tg
();
}