1 // PR c++/85076
2 // { dg-do compile { target c++14 } }
3 
4 template<typename> struct A*;	// { dg-error "expected unqualified-id before" }
5 
6 auto a = [](A<auto>) {};	// { dg-error "is not a template|has incomplete type" }
7