forked from qt-creator/qt-creator
C++11: Fix use of >> in template arguments.
Change-Id: Ic99ca897e7a3b9c82cf8c5093a90bf9c88dbb0ed Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
10
tests/auto/cplusplus/cxx11/data/templateGreaterGreater.1.cpp
Normal file
10
tests/auto/cplusplus/cxx11/data/templateGreaterGreater.1.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
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>());
|
||||
|
||||
Reference in New Issue
Block a user