summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 17:34:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:55 (GMT)
commit0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8 (patch)
treeab8826f13ad1a7a1ed374b606b453927aa4d0645 /Tests/CompileFeatures
parent8149fc909fb2c26235fea8999ea9396d7b45fba7 (diff)
downloadCMake-0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8.zip
CMake-0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8.tar.gz
CMake-0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8.tar.bz2
Features: Add cxx_nullptr.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r--Tests/CompileFeatures/cxx_nullptr.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_nullptr.cpp b/Tests/CompileFeatures/cxx_nullptr.cpp
new file mode 100644
index 0000000..96307df
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_nullptr.cpp
@@ -0,0 +1,10 @@
+
+void someFunc(int*)
+{
+
+}
+
+void otherFunc()
+{
+ someFunc(nullptr);
+}