view gcc/testsuite/g++.dg/template/typename23.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

// PR c++/95223
// { dg-do compile }
// { dg-additional-options "--param=hash-table-verification-limit=10000" }

template <typename> struct j {};
template <typename t> struct n {
  typedef int m;
  j<n<t>::m> p();
};
template <typename o> j<typename n<o>::m> n<o>::p() { return o::f(); }