☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ59.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/var-templ59.C
code
plain
raw
1
// PR c++/71569
2
// { dg-do compile { target c++14 } }
3
4
template <class T>
5
struct A {
6
template <class U>
7
static U u;
8
};
9
10
int main()
11
{
12
decltype(A<int>::u) a; // { dg-error "missing template arguments" }
13
return a;
14
}