blob: caf8afa26970290f75b7be91f34eb5321d274619 [file] [log] [blame]
// { dg-do compile { target c++14 } }
template<typename> int A; // { dg-message "24:variable template" }
template int A<>(); // { dg-error "14:template<class>" }
struct B {
friend int A<>(); // { dg-error "14:specialization" }
};