mirror of git://gcc.gnu.org/git/gcc.git
re PR c++/58734 ([C++11] Template template parameter pack instantiation problem)
2015-07-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58734 * g++.dg/cpp0x/variadic-ttp2.C: New. From-SVN: r225713
This commit is contained in:
parent
6f9c217af5
commit
4aeb847a75
|
|
@ -1,3 +1,8 @@
|
||||||
|
2015-07-11 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
|
PR c++/58734
|
||||||
|
* g++.dg/cpp0x/variadic-ttp2.C: New.
|
||||||
|
|
||||||
2015-07-10 Patrick Palka <ppalka@gcc.gnu.org>
|
2015-07-10 Patrick Palka <ppalka@gcc.gnu.org>
|
||||||
|
|
||||||
PR c++/30044
|
PR c++/30044
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
// PR c++/58734
|
||||||
|
// { dg-do compile { target c++11 } }
|
||||||
|
|
||||||
|
template <typename R1, typename R2>
|
||||||
|
struct W1 { };
|
||||||
|
|
||||||
|
template <template <typename, typename> class W>
|
||||||
|
struct A { };
|
||||||
|
|
||||||
|
template <template <typename, typename> class ...W>
|
||||||
|
struct B { };
|
||||||
|
|
||||||
|
template <template <typename, typename> class ...W>
|
||||||
|
void f(A<W...> &a, B<W...> &b);
|
||||||
|
|
||||||
|
void g()
|
||||||
|
{
|
||||||
|
A<W1> a;
|
||||||
|
B<W1> b;
|
||||||
|
|
||||||
|
::f(a, b);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue