// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s template struct X; template struct Y; X> *x1; Y<(1 >> 2)> *y1; Y<1 >> 2> *y2; // FIXME: expected-error{{expected unqualified-id}} X>>>> *x2; template<> struct X { }; typedef X X_int; struct Z : X_int { }; void f(const X x) { (void)reinterpret_cast>(x); // expected-error{{reinterpret_cast from}} (void)reinterpret_cast>>>(x); // expected-error{{reinterpret_cast from}} X> *x1; } template struct X1 { }; X1> x1a;