diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-01-03 20:35:03 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-01-03 20:35:03 +0000 |
| commit | 1440693c50504e7f387cb1958bac48770a7f37f8 (patch) | |
| tree | 729f813bd97cb8ab7b041c4737029e752032e6e0 /clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp | |
| parent | 0db031d532f4e148a5c83c376116d7255d04eac6 (diff) | |
| download | bcm5719-llvm-1440693c50504e7f387cb1958bac48770a7f37f8.tar.gz bcm5719-llvm-1440693c50504e7f387cb1958bac48770a7f37f8.zip | |
Diagnose the presence of unexpanded parameter packs within class
template partial specialization arguments.
llvm-svn: 122769
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.cpp | 8 |
1 files changed, 4 insertions, 4 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 47581fee90a..d52d9c52a41 100644 --- a/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp +++ b/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp @@ -211,10 +211,10 @@ struct TestUnexpandedDecls : T{ // FIXME: Test for unexpanded parameter packs in each of the statements. -// FIXME: Once we have template argument deduction, we can test -// unexpanded parameter packs in partial specializations. -// template<typename ...Types> -// struct TestUnexpandedDecls<int, Types>; +// Test unexpanded parameter packs in partial specializations. + +template<typename ...Types> +struct TestUnexpandedDecls<int, Types>; // expected-error{{partial specialization contains unexpanded parameter pack 'Types'}} // Test for diagnostics in the presence of multiple unexpanded // parameter packs. |

