summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/alias-decl-47.C
blob: 71611db42ccd2079096b63ecb4dd1e8f2bf15251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/65333
// { dg-do compile { target c++11 } }

template <typename T, T... Values> struct A
{
  using type = int;
  template <type... Suffix> using array = A<type, Values..., Suffix...>;
  void
  m_fn1 ()
  {
    array<>::data;
  }
};