crash36.C: Update error lines.

* g++.old-deja/g++.pt/crash36.C: Update error lines.
        * g++.old-deja/g++.robertl/eb109.C: Likewise.

From-SVN: r38407
This commit is contained in:
Richard Henderson 2000-12-20 14:01:05 -08:00 committed by Richard Henderson
parent 4c07386b32
commit 1e248ee387
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-12-20 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.pt/crash36.C: Update error lines.
* g++.old-deja/g++.robertl/eb109.C: Likewise.
2000-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/compare3.c: New test.

View File

@ -28,8 +28,8 @@ struct list {
};
reverse_iterator<list_iterator<T> > rbegin()
{ return reverse_iterator<list_iterator<T> > // ERROR - no type
(list_iterator<T>(Head->next())); } // ERROR - instantiated here
{ return reverse_iterator<list_iterator<T> > // ERROR - no type|instantiated here
(list_iterator<T>(Head->next())); }
};
template class list<int>; // ERROR - instantiated from here

View File

@ -50,8 +50,8 @@ ostream& operator<<(ostream& os, Graph<VertexType,EdgeType>& G)
while(startN != endN)
{
os << G[(*startN).first].first << ' ' // vertex
<< (*startN).second << ' '; // ERROR - no index operator
os << G[(*startN).first].first << ' ' // ERROR - no index operator
<< (*startN).second << ' ';
++startN;
}
os << ">\n";