gcc/testsuite/g++.target/i386/pr89630.C
raw| 1 | // { dg-do compile } |
| 2 | // { dg-options "-std=c++14 -mrtm -march=skylake-avx512" } |
| 3 | |
| 4 | template <int> class A; |
| 5 | template <typename> class B; |
| 6 | template <typename> struct C; |
| 7 | template <typename P_expr> class D { |
| 8 | using B<typename P_expr::T_numtype>::rank_; |
| 9 | void operator()(typename C<A<rank_>>::i); |
| 10 | }; |
| 11 | |
| 12 | template <typename P_expr> class F { |
| 13 | using B<typename P_expr::T_numtype>::rank_; |
| 14 | void operator()(typename C<A<rank_>>::i); |
| 15 | }; |