// { dg-do compile { target c++14 } } template struct A { template static const U x = 1; static const int y = 2; }; int main() { A a; int y = a.y; // OK int x = a.x; // ??? }