summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 22:02:14 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:54 (GMT)
commit0caf08e43ef405a879393cb3a4bae0b6b87e26b6 (patch)
tree97613dadc9dff6bb8bd1f0c4e1a856730bdbd2e1 /Tests/CompileFeatures
parent0685ac6edc8f9285e7b12d32a182e569a372856c (diff)
downloadCMake-0caf08e43ef405a879393cb3a4bae0b6b87e26b6.zip
CMake-0caf08e43ef405a879393cb3a4bae0b6b87e26b6.tar.gz
CMake-0caf08e43ef405a879393cb3a4bae0b6b87e26b6.tar.bz2
Features: Add cxx_auto_function.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r--Tests/CompileFeatures/cxx_trailing_return_types.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_trailing_return_types.cpp b/Tests/CompileFeatures/cxx_trailing_return_types.cpp
new file mode 100644
index 0000000..01a76cb
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_trailing_return_types.cpp
@@ -0,0 +1,5 @@
+
+auto someFunc() -> int
+{
+ return 42;
+}