☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ29.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/var-templ29.C
code
plain
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
}