summaryrefslogtreecommitdiffstats
path: root/clang/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
commit9b2ab81a0c37d1adbf7924823ac923045a543eed (patch)
treeb51778e477cf832392cf1fd12c2ee7815858b0c3 /clang/test/SemaTemplate/temp_arg_template.cpp
parentc79c93ad966bed87be3fad1809320ab674be818f (diff)
downloadbcm5719-llvm-9b2ab81a0c37d1adbf7924823ac923045a543eed.tar.gz
bcm5719-llvm-9b2ab81a0c37d1adbf7924823ac923045a543eed.zip
Correct test from r152189.
llvm-svn: 152191
Diffstat (limited to 'clang/test/SemaTemplate/temp_arg_template.cpp')
-rw-r--r--clang/test/SemaTemplate/temp_arg_template.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/temp_arg_template.cpp b/clang/test/SemaTemplate/temp_arg_template.cpp
index 106111e4299..c9ce1b69436 100644
--- a/clang/test/SemaTemplate/temp_arg_template.cpp
+++ b/clang/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;
};
OpenPOWER on IntegriCloud