Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/var-templ29.C

raw
1 // PR c++/65719
2 // { dg-do link { target c++14 } }
3
4 struct FunctionObject {
5 void operator()() const { }
6 };
7
8 template <typename T>
9 constexpr FunctionObject f{};
10
11 int main() {
12 f<int>();
13 }