summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-04 02:33:52 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-04 02:33:52 +0000
commit857591143e639df933b6a1de1652441716fe843e (patch)
tree6e38283f613b52d0f0c4f6122f469184d9167ae6 /clang/test
parentbc114c6b203ad77564ca6e952f6db7573e88abd6 (diff)
downloadbcm5719-llvm-857591143e639df933b6a1de1652441716fe843e.tar.gz
bcm5719-llvm-857591143e639df933b6a1de1652441716fe843e.zip
When creating the injected-class-name for a class template involving a
non-type template parameter pack, make sure to create a pack expansion for the corresponding template argument. llvm-svn: 122799
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp b/clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp
index 69f6b46c281..47b7793da03 100644
--- a/clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp
+++ b/clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp
@@ -106,8 +106,6 @@ namespace Math {
int check3[sum<1, 2, 3, 4, 5>::value == 15? 1 : -1];
-#if 0
- // FIXME: Instantiation of this fails.
template<int ... Values>
struct lazy_sum {
int operator()() {
@@ -118,7 +116,6 @@ namespace Math {
void f() {
lazy_sum<1, 2, 3, 4, 5>()();
}
-#endif
}
namespace Indices {
OpenPOWER on IntegriCloud