1// RUN: %clang_cc1 -fsyntax-only -verify %s 2// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 3 4template<class T> class vector {}; 5@protocol P @end 6 7// expected-no-diagnostics 8 9vector<id<P>> v; 10vector<vector<id<P>>> v2; 11 12@protocol PA; 13@protocol PB; 14 15@class NSArray<ObjectType>; 16typedef int some_t; 17 18id<PA> FA(NSArray<id<PB>> *h, some_t group); 19