blob: 1924a8c98c262d5b39838f54bc7cacf1bc51c274 [file] [edit]
// RUN: %clang_cc1 -fsyntax-only -verify %s
template <typename> struct A {
template <typename T> static B x; // expected-error {{unknown type name 'B'}}
template <typename T> static int x<T*>;
};
A<int> a;