summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-06 08:52:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:57 (GMT)
commitdcaafada0e213ae74082be84812a38d7f2a4a860 (patch)
treebf23a84aafb91097e7c6e31ae44fcc13d2223f7e /Tests/CompileFeatures
parent251a1f02a0ae7eb93690dd0daad8575a3c0451b3 (diff)
downloadCMake-dcaafada0e213ae74082be84812a38d7f2a4a860.zip
CMake-dcaafada0e213ae74082be84812a38d7f2a4a860.tar.gz
CMake-dcaafada0e213ae74082be84812a38d7f2a4a860.tar.bz2
Features: Add cxx_func_identifier.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r--Tests/CompileFeatures/cxx_func_identifier.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_func_identifier.cpp b/Tests/CompileFeatures/cxx_func_identifier.cpp
new file mode 100644
index 0000000..0c3595c
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_func_identifier.cpp
@@ -0,0 +1,6 @@
+
+void someFunc()
+{
+ bool b = sizeof(__func__);
+ (void)b;
+}