From: Robert Lipe Date: Tue, 2 Jun 1998 19:45:48 +0000 (+0000) Subject: Quoting Martin: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57f1de49ebe1462104fad2c5bea6766b6d117718;p=gcc.git Quoting Martin: [ eb47, eb53, eb89 ] 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 [eb128.C] From-SVN: r20185 --- diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb128.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb128.C new file mode 100644 index 00000000000..ae4fc6683eb --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb128.C @@ -0,0 +1,11 @@ +template +struct A { + typedef T* iterator; +public: + A(){} +}; + +void f() +{ + A a; // ERROR - pointer to reference +}