aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1y/var-templ58.C
blob: f9095f61e67e29331ff8c7c27c17492859860954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/71569
// { dg-do compile { target c++14 } }

template <class T>
struct A {
  template <class U>
  static const U u;
};

template <class T>
template <class U>
const U A<T>::u<U> = 0;	// { dg-error "does not specialize" }