summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-03 21:37:45 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-03 21:37:45 +0000
commit98318c2259bc05711fec9479062752a7b30f660c (patch)
tree9f88ac9f1ceedfd567a496ff964d2333c026e6ec /clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
parent875b6fe364372e9021012fb32eccc49e39c7b0fb (diff)
downloadbcm5719-llvm-98318c2259bc05711fec9479062752a7b30f660c.tar.gz
bcm5719-llvm-98318c2259bc05711fec9479062752a7b30f660c.zip
Properly rebuild pack expansions whose pattern is a non-type template
argument. As part of this, be more careful when determining if there are any parameter packs that cannot be expanded. llvm-svn: 122776
Diffstat (limited to 'clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp')
-rw-r--r--clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp b/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
index d52d9c52a41..729a6a0bb28 100644
--- a/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
+++ b/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
@@ -212,7 +212,6 @@ struct TestUnexpandedDecls : T{
// FIXME: Test for unexpanded parameter packs in each of the statements.
// Test unexpanded parameter packs in partial specializations.
-
template<typename ...Types>
struct TestUnexpandedDecls<int, Types>; // expected-error{{partial specialization contains unexpanded parameter pack 'Types'}}
OpenPOWER on IntegriCloud