diff options
author | Alec Thomas <alec@swapoff.org> | 2012-10-18 13:21:06 -0400 |
---|---|---|
committer | Alec Thomas <alec@swapoff.org> | 2012-10-18 13:21:06 -0400 |
commit | 92dc19d8a0eaea4aac6327490695420deb226218 (patch) | |
tree | 03d16ac15fb4acf9704a347df639de0a76152f2f /c++11/c++11-test-nullptr-N2431.cpp | |
parent | d6c7bd8997458658dc4853c36c982acd92966875 (diff) |
Add C++11 feature checking to cmake.
Diffstat (limited to 'c++11/c++11-test-nullptr-N2431.cpp')
-rw-r--r-- | c++11/c++11-test-nullptr-N2431.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/c++11/c++11-test-nullptr-N2431.cpp b/c++11/c++11-test-nullptr-N2431.cpp new file mode 100644 index 0000000..6c5ae66 --- /dev/null +++ b/c++11/c++11-test-nullptr-N2431.cpp @@ -0,0 +1,5 @@ +int main()
+{
+ int* test = nullptr;
+ return test ? 1 : 0;
+}
|