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