// RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify
@classNSObject;template<typename T>structC{staticTf();// expected-error {{interface type 'NSObject' cannot be returned by value; did you forget * in 'NSObject'?}}
};intg(){NSObject*x = C<NSObject>::f();}//expected-error {{no member named 'f' in 'C<NSObject>'}} expected-note {{in instantiation of template class 'C<NSObject>' requested here}}