☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ55.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/var-templ55.C
code
plain
raw
1
// { dg-do compile { target c++14 } }
2
3
template <class T> struct A {
4
template <class U> static const U x = 1;
5
static const int y = 2;
6
};
7
8
int main() {
9
A<int> a;
10
int y = a.y; // OK
11
int x = a.x<int>; // ???
12
}