Files
qt-creator/tests/auto/cplusplus/cxx11/data/templateGreaterGreater.1.cpp
Christian Kamm 392c80c6e4 C++11: Fix use of >> in template arguments.
Change-Id: Ic99ca897e7a3b9c82cf8c5093a90bf9c88dbb0ed
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-19 11:58:34 +02:00

11 lines
151 B
C++

template <class i, int j = 1>
class Y {};
template <int i>
class X {};
Y<X<6>, 7> x;
Y<X<1>> y;
X< (1 >> 2) > z;
auto a = static_cast<X<1>>(X<1>());