StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git] / test / SemaObjCXX / instantiate-method-return.mm
blobb8ba4af09222322a566d94e3edf83ebd9cdb12cd
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // PR7386
4 @class NSObject;
6 class A;
7 template<class T> class V {};
9 @protocol Protocol
10 - (V<A*>)protocolMethod;
11 @end
14 @interface I<Protocol>
15 @end
18 @implementation I
19 - (void)randomMethod:(id)info {
20   V<A*> vec([self protocolMethod]);
23 - (V<A*>)protocolMethod {
24   V<A*> va; return va;
26 @end