This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
eb47, eb53, eb89
- To: egcs-patches at cygnus dot com
- Subject: eb47, eb53, eb89
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Tue, 2 Jun 1998 08:20:20 +0200
These three test cases all build standard templates from reference types,
which is illegal.
Unfortunately, they all give errors for lines in library headers,
which I can't test for.
Therefore, I suggest to remove all of them, and replace it with
the test include below.
Martin
template<class T>
struct A {
typedef T* iterator;
public:
A(){}
};
void f()
{
A<int&> a; // ERROR - pointer to reference
}