summaryrefslogtreecommitdiff
path: root/test/SemaTemplate/temp_arg_template.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-03-07 01:13:38 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-03-07 01:13:38 +0000
commit4a90e1a8a296c30e94e34e19974d84fb8cfc2bd3 (patch)
tree505f188fb9df6d7cb89171ff8710c341240ec97e /test/SemaTemplate/temp_arg_template.cpp
parent9e9c454b12671a624f666fc6fbf132fdf183effc (diff)
downloadclang-4a90e1a8a296c30e94e34e19974d84fb8cfc2bd3.tar.gz
clang-4a90e1a8a296c30e94e34e19974d84fb8cfc2bd3.tar.bz2
clang-4a90e1a8a296c30e94e34e19974d84fb8cfc2bd3.tar.xz
Correct test from r152189.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/temp_arg_template.cpp')
-rw-r--r--test/SemaTemplate/temp_arg_template.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/temp_arg_template.cpp b/test/SemaTemplate/temp_arg_template.cpp
index 106111e429..c9ce1b6943 100644
--- a/test/SemaTemplate/temp_arg_template.cpp
+++ b/test/SemaTemplate/temp_arg_template.cpp
@@ -56,7 +56,7 @@ namespace N {
}
// PR12179
-template <typename Primitive, template <Primitive...> class F>
+template <typename Primitive, template <Primitive...> class F> // expected-warning {{variadic templates are a C++11 extension}}
struct unbox_args {
typedef typename Primitive::template call<F> x;
};