commit | b5216aaf803609d25eb8514266dd8531812b4877 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Feb 14 22:56:17 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Feb 14 22:56:17 2012 +0000 |
tree | 58e96cdccfcb407dcc19d8def6aedb37cfae5c9d | |
parent | 65967ec5456ecb82b2d7d66d202c23d48e4251b5 [diff] [blame] |
Advertize support for constexpr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150524 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Lexer/has_feature_cxx0x.cpp b/test/Lexer/has_feature_cxx0x.cpp index f02f103..17ed6fb 100644 --- a/test/Lexer/has_feature_cxx0x.cpp +++ b/test/Lexer/has_feature_cxx0x.cpp
@@ -217,3 +217,12 @@ // CHECK-0X: has_unicode_literals // CHECK-NO-0X: no_unicode_literals + +#if __has_feature(cxx_constexpr) +int has_constexpr(); +#else +int no_constexpr(); +#endif + +// CHECK-0X: has_constexpr +// CHECK-NO-0X: no_constexpr