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)> {};
}