aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/using4.C
blob: 2c133d959f912b427f7c9e0dc091d765e45fe512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/88986
// { dg-do compile { target c++11 } }
// { dg-options "" }

struct B { typedef int type; };

template<typename ...T> struct C : T... {
  using typename T::type ...;  // { dg-warning "pack expansion" "" { target c++14_down } }
  void f() { type value; }
};

template struct C<B>;