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 
main()10 int main()
11 {
12   decltype(A<int>::u) a;	// { dg-error "missing template arguments" }
13   return a;
14 }
15