diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-18 11:53:01 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:54 (GMT) |
commit | 91289312fa9da0807b5c59a78de2c5ad21d6cda1 (patch) | |
tree | 0ab65d9f39964c899414ae5f08c54fe829206fdc /Tests/CompileFeatures/cxx_constexpr.cpp | |
parent | 10f33eee1dfefa9e5a2ee5cf4946095bf08b19bc (diff) | |
download | CMake-91289312fa9da0807b5c59a78de2c5ad21d6cda1.zip CMake-91289312fa9da0807b5c59a78de2c5ad21d6cda1.tar.gz CMake-91289312fa9da0807b5c59a78de2c5ad21d6cda1.tar.bz2 |
Features: Add cxx_constexpr.
Diffstat (limited to 'Tests/CompileFeatures/cxx_constexpr.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_constexpr.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_constexpr.cpp b/Tests/CompileFeatures/cxx_constexpr.cpp new file mode 100644 index 0000000..570c10f --- /dev/null +++ b/Tests/CompileFeatures/cxx_constexpr.cpp @@ -0,0 +1,5 @@ + +constexpr int getNum() +{ + return 42; +} |