summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/cpp0x/alias-decl-dr1286b.C
blob: fef981823b232364321a4bb88b55ebbca6c05837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/60328
// { dg-require-effective-target c++11 }

template <class _T, class... _Rest>
struct Foo
{
  template <class _TT, class... _RR>
  using Bar = Foo<_TT, _RR...>;

  using Normal = Foo<_Rest...>;
  using Fail = Bar<_Rest...>;
};
OpenPOWER on IntegriCloud