Sign in
gnu
/
gcc
/
7d75ea04cf6d9c8960d5c6119d6203568b7069e9
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
noexcept-type18.C
blob: e01fd0a20308605d4c44efdb5005158373622dd2 [
file
] [
log
] [
blame
]
// { dg-options "-std=c++17" }
template
<
typename
T
>
struct
S
;
template
<
bool
IsNoexcept
>
struct
S
<
void
(*)()
noexcept
(
IsNoexcept
)>
{
S
()
{}
};
void
f
()
{}
int
main
()
{
S
<
decltype
(&
f
)>
{};
}