// RUN: %clang_cc1 -std=c++11 %s -verify
;
X< 1>2 > x1; // expected-error{{expected unqualified-id}}
X<> x2; // OK
;
Y<X<1>> x3; // OK, same as Y<X<1> > x3;
Y<X<6>>1>> x4; // expected-error{{expected unqualified-id}}
Y<X<>> x5;
int a, b;
Y<decltype> x6;