Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
noexcept-type18.C
blob: a018c9403972fede454d4201efb36699a2cfe021 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<
typename
T
>
struct
S
;
template
<
bool
IsNoexcept
>
struct
S
<
void
(*)()
noexcept
(
IsNoexcept
)>
{
S
()
{}
};
void
f
()
{}
int
main
()
{
S
<
decltype
(&
f
)>
{};
}