diff options
Diffstat (limited to 'test/Lexer/cxx-features.cpp')
-rw-r--r-- | test/Lexer/cxx-features.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/Lexer/cxx-features.cpp b/test/Lexer/cxx-features.cpp index 5fc1722e942b1..d69ef08a59edb 100644 --- a/test/Lexer/cxx-features.cpp +++ b/test/Lexer/cxx-features.cpp @@ -50,7 +50,7 @@ #error "wrong value for __cpp_capture_star_this" #endif -// FIXME: bump __cpp_constexpr to 201603 for constexpr lambda support +// constexpr checked below #if check(if_constexpr, 0, 0, 0, 201606) // FIXME: provisional name #error "wrong value for __cpp_if_constexpr" @@ -92,6 +92,14 @@ #error "wrong value for __cpp_nontype_template_args" #endif +#if check(template_template_args, 0, 0, 0, 0) // FIXME: should be 201611 when feature is enabled +#error "wrong value for __cpp_template_template_args" +#endif + +#if check(deduction_guides, 0, 0, 0, 201611) // FIXME: provisional name +#error "wrong value for __cpp_deduction_guides" +#endif + // --- C++14 features --- #if check(binary_literals, 0, 0, 201304, 201304) @@ -159,7 +167,7 @@ #error "wrong value for __cpp_lambdas" #endif -#if check(constexpr, 0, 200704, 201304, 201304) +#if check(constexpr, 0, 200704, 201304, 201603) #error "wrong value for __cpp_constexpr" #endif |