diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-19 22:11:50 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-19 22:11:50 +0000 |
commit | eecc6bc388e41d837bd95f4c019e375facf69597 (patch) | |
tree | a4eca08c55e740cf6ca02508e414963872b8e5a8 /clang/test/Lexer/has_feature_cxx0x.cpp | |
parent | 9fb04015ffa1fdb73a6faf03779e5a6cf3257eba (diff) | |
download | bcm5719-llvm-eecc6bc388e41d837bd95f4c019e375facf69597.tar.gz bcm5719-llvm-eecc6bc388e41d837bd95f4c019e375facf69597.zip |
Variadic templates are fully implemented.
Turn on the __has_feature switch for variadic templates, document
their completion, and put the ExtWarn into the c++0x-extensions
warning group.
llvm-svn: 123854
Diffstat (limited to 'clang/test/Lexer/has_feature_cxx0x.cpp')
-rw-r--r-- | clang/test/Lexer/has_feature_cxx0x.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/Lexer/has_feature_cxx0x.cpp b/clang/test/Lexer/has_feature_cxx0x.cpp index c6c7787276a..5b0f79834ee 100644 --- a/clang/test/Lexer/has_feature_cxx0x.cpp +++ b/clang/test/Lexer/has_feature_cxx0x.cpp @@ -97,8 +97,9 @@ int variadic_templates(); int no_variadic_templates(); #endif -// CHECK-0X: no_variadic_templates -// CHECK-NO-0X: no_variadic_templates +// CHECK-0X: variadic_templates +// Note: We allow variadic templates in C++98/03 with a warning. +// CHECK-NO-0X: variadic_templates #if __has_feature(cxx_inline_namespaces) |