CMake/Tests/CompileFeatures/cxx_right_angle_brackets.cpp
Alex Wang 68e7250a9f Features: Fix cxx_right_angle_brackets compiler feature test
The clang-format pass in commit v3.6.0-rc1~54^2~1 (Revise C++ coding
style using clang-format, 2016-05-16) changed the template right angle
brackets from `>>` to `> >`, which defeats the purpose of this test.
Change it back and exclude this content from formatting.
2016-10-25 13:38:12 -04:00

15 lines
163 B
C++

template <typename T>
struct A
{
typedef T Result;
};
void someFunc()
{
/* clang-format off */
A<A<int>> object;
/* clang-format on */
(void)object;
}