Fixed by r10-1975-g59febe0ece37bedab7f42ae51b9f2b7a372d2950.
2020-02-12 Marek Polacek <polacek@redhat.com>
PR c++/88819
* g++.dg/cpp2a/nontype-class32.C: New test.
2020-02-12 Marek Polacek <polacek@redhat.com>
+ PR c++/88819
+ * g++.dg/cpp2a/nontype-class32.C: New test.
+
+2020-02-12 Marek Polacek <polacek@redhat.com>
+
PR c++/93684 - ICE-on-invalid with broken attribute.
* g++.dg/parse/attr4.C: New test.
--- /dev/null
+// PR c++/88819
+// { dg-do compile { target c++2a } }
+
+template<typename T, template<T> class TT, class R = TT <0>> struct A
+{
+ template<R> struct B {};
+};
+template<int> struct C {};
+
+A<int, C, C<0>> a;