re PR c++/52233 (ICE segmentation fault with using-declaration)
2012-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52233 * g++.dg/cpp0x/alias-decl-23.C: New. From-SVN: r192109
This commit is contained in:
parent
87a52ec1f6
commit
712d3fe134
|
@ -1,7 +1,12 @@
|
|||
2012-10-04 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/52233
|
||||
* g++.dg/cpp0x/alias-decl-23.C: New.
|
||||
|
||||
2012-10-04 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/53403
|
||||
* g++.dg/template/friend53.C
|
||||
* g++.dg/template/friend53.C: New.
|
||||
|
||||
2012-10-04 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
// PR c++/52233
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
template <typename t>
|
||||
struct foo
|
||||
{
|
||||
template <template <typename...> class... xs>
|
||||
using type = int;
|
||||
};
|
||||
|
||||
template <typename t, template <typename...> class... xs>
|
||||
struct bar
|
||||
{
|
||||
using type = typename foo<t>::template type<xs...>;
|
||||
};
|
||||
|
||||
bar<int, foo> x;
|
Loading…
Reference in New Issue