diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-06 08:17:20 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:57 (GMT) |
commit | 7b3e8a05349e13ee300980c1a4789cc9175a6c42 (patch) | |
tree | 02c664ae3c4193db9937a10dd1e395452c2446b3 /Tests | |
parent | 9a49fd21bedacdda51ecfa82a15a0e52dd64948f (diff) | |
download | CMake-7b3e8a05349e13ee300980c1a4789cc9175a6c42.zip CMake-7b3e8a05349e13ee300980c1a4789cc9175a6c42.tar.gz CMake-7b3e8a05349e13ee300980c1a4789cc9175a6c42.tar.bz2 |
Features: Add cxx_right_angle_brackets.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CompileFeatures/cxx_right_angle_brackets.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_right_angle_brackets.cpp b/Tests/CompileFeatures/cxx_right_angle_brackets.cpp new file mode 100644 index 0000000..2713fd8 --- /dev/null +++ b/Tests/CompileFeatures/cxx_right_angle_brackets.cpp @@ -0,0 +1,12 @@ + +template<typename T> +struct A +{ + typedef T Result; +}; + +void someFunc() +{ + A<A<int>> object; + (void)object; +} |