aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction63.C
blob: 4fc66fcbe1596c06254b27d177e6e26e64b01f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/88869
// { dg-do compile { target c++17 } }

template <typename> struct B;
template <> struct B<int> {
  template <typename T> struct C {
    T e;
    C (T f) : e(f) {}
  };
  void foo () { C c (42); }
};