blob: 8cb499396d420e9f0c9ce86fbaa2c130ba752106 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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
#if __cplusplus >= 201103L
// expected-no-diagnostics
#else
// expected-error@14{{a space is required between consecutive right angle brackets}}
// expected-error@15{{a space is required between consecutive right angle brackets}}
#endif
vector<id<P>> v;
vector<vector<id<P>>> v2;
|