gcc/testsuite/g++.dg/template/typename23.C
raw| 1 | // PR c++/95223 |
| 2 | // { dg-do compile } |
| 3 | // { dg-additional-options "--param=hash-table-verification-limit=10000" } |
| 4 | |
| 5 | template <typename> struct j {}; |
| 6 | template <typename t> struct n { |
| 7 | typedef int m; |
| 8 | j<n<t>::m> p(); |
| 9 | }; |
| 10 | template <typename o> j<typename n<o>::m> n<o>::p() { return o::f(); } |