2014-12-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60493
* g++.dg/template/crash120.C: New.
From-SVN: r218957
+2014-12-19 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/60493
+ * g++.dg/template/crash120.C: New.
+
2014-12-19 Kai Tietz <ktietz@redhat.com>
PR c++/61198
--- /dev/null
+// PR c++/60493
+
+template <class T, class U>
+struct foo
+{
+};
+template <class T>
+struct baz
+{
+ class bar;
+};
+
+template <class T, class D>
+struct baz<T>::bar : foo<int, D> // { dg-error "parameters|required" }
+{
+};
+
+baz<int>::bar it; // { dg-error "incomplete" }