PR c++/89630
* g++.target/i386/pr89630.C: New test.
From-SVN: r269781
+2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR c++/89630
+ * g++.target/i386/pr89630.C: New test.
+
2019-03-18 Kito Cheng <kito.cheng@gmail.com>
* gcc.target/riscv/arch-1.c: Add quotes around march in dg-error.
--- /dev/null
+// { dg-do compile }
+// { dg-options "-std=c++14 -mrtm -march=skylake-avx512" }
+
+template <int> class A;
+template <typename> class B;
+template <typename> struct C;
+template <typename P_expr> class D {
+ using B<typename P_expr::T_numtype>::rank_;
+ void operator()(typename C<A<rank_>>::i);
+};
+
+template <typename P_expr> class F {
+ using B<typename P_expr::T_numtype>::rank_;
+ void operator()(typename C<A<rank_>>::i);
+};