+2000-10-05 Nathan Sidwell <nathan@codesourcery.com>
+
+ * g++.old-deja/g++.pt/crash59.C: New test.
+
2000-10-04 Will Cohen <wcohen@redhat.com>
* gcc.dg/20000926-1.c: New test.
--- /dev/null
+// Build don't link:
+// Copyright (C) 2000 Free Software Foundation, Inc.
+// Contributed by Nathan Sidwell 4 Oct 2000 <nathan@codesourcery.com>
+
+// Bug 532. We failed to bail out when tsubsting a _DECL failed
+
+class ATOMSET
+{
+};
+
+template <class T>
+void addConstsTo(const T &container)
+{
+typename T::const_iterator l = 0; // ERROR - no type const_iterator
+}
+
+void tallyConstants()
+{
+addConstsTo(ATOMSET());
+}