// RUN: clang-cc -fsyntax-only -verify %s template struct A; template struct A { A(T); ~A(); void f(T*); operator T*(); static T value; }; template void A::f(X*) { } template X A::value; template A::A(X) { value = 0; } template A::~A() { } template A::operator X*() { return 0; }