You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
348 B
19 lines
348 B
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
|
|
|
|
template<class T> class vector {};
|
|
@protocol P @end
|
|
|
|
// expected-no-diagnostics
|
|
|
|
vector<id<P>> v;
|
|
vector<vector<id<P>>> v2;
|
|
|
|
@protocol PA;
|
|
@protocol PB;
|
|
|
|
@class NSArray<ObjectType>;
|
|
typedef int some_t;
|
|
|
|
id<PA> FA(NSArray<id<PB>> *h, some_t group);
|