summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_right_angle_brackets.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-06 08:17:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:57 (GMT)
commit7b3e8a05349e13ee300980c1a4789cc9175a6c42 (patch)
tree02c664ae3c4193db9937a10dd1e395452c2446b3 /Tests/CompileFeatures/cxx_right_angle_brackets.cpp
parent9a49fd21bedacdda51ecfa82a15a0e52dd64948f (diff)
downloadCMake-7b3e8a05349e13ee300980c1a4789cc9175a6c42.zip
CMake-7b3e8a05349e13ee300980c1a4789cc9175a6c42.tar.gz
CMake-7b3e8a05349e13ee300980c1a4789cc9175a6c42.tar.bz2
Features: Add cxx_right_angle_brackets.
Diffstat (limited to 'Tests/CompileFeatures/cxx_right_angle_brackets.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_right_angle_brackets.cpp12
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;
+}