Commit b2f9816f by Nathan Sidwell Committed by Nathan Sidwell

* g++.old-deja/g++.pt/crash59.C: New test.

From-SVN: r36721
parent ce2e5191
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.
......
// 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());
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment