diff options
Diffstat (limited to 'clang/test/Lexer/cxx-features.cpp')
-rw-r--r-- | clang/test/Lexer/cxx-features.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Lexer/cxx-features.cpp b/clang/test/Lexer/cxx-features.cpp index a8ef6291f4c..cda6f888cbc 100644 --- a/clang/test/Lexer/cxx-features.cpp +++ b/clang/test/Lexer/cxx-features.cpp @@ -34,6 +34,10 @@ #error "wrong value for __cpp_char8_t" #endif +#if check(constinit, 0, 0, 0, 0, 201907) +#error "wrong value for __cpp_constinit" +#endif + #if check(impl_destroying_delete, 201806, 201806, 201806, 201806, 201806) #error "wrong value for __cpp_impl_destroying_delete" #endif |