Commit 1e248ee3 by Richard Henderson Committed by Richard Henderson

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
parent 4c07386b
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.
......
......@@ -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
......@@ -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";
......
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