summaryrefslogtreecommitdiff
path: root/test/Lexer/has_extension_cxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Lexer/has_extension_cxx.cpp')
-rw-r--r--test/Lexer/has_extension_cxx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Lexer/has_extension_cxx.cpp b/test/Lexer/has_extension_cxx.cpp
index d3483df94c5a..d1267eaf85d8 100644
--- a/test/Lexer/has_extension_cxx.cpp
+++ b/test/Lexer/has_extension_cxx.cpp
@@ -41,6 +41,11 @@ int has_reference_qualified_functions();
int has_rvalue_references();
#endif
+// CHECK: has_variadic_templates
+#if __has_extension(cxx_variadic_templates)
+int has_variadic_templates();
+#endif
+
// CHECK: has_local_type_template_args
#if __has_extension(cxx_local_type_template_args)
int has_local_type_template_args();