diff options
author | Robert Lipe <robertl@gcc.gnu.org> | 1998-06-02 19:44:07 +0000 |
---|---|---|
committer | Robert Lipe <robertl@gcc.gnu.org> | 1998-06-02 19:44:07 +0000 |
commit | 631253eb70f8363f4d80a0d39c305649abc2a263 (patch) | |
tree | e2d59807f0078013a56a3fea0e2100aff27c763c | |
parent | d46f7484c3735ba98adf1024ea2b96a1c3d40554 (diff) | |
download | gcc-631253eb70f8363f4d80a0d39c305649abc2a263.zip gcc-631253eb70f8363f4d80a0d39c305649abc2a263.tar.gz gcc-631253eb70f8363f4d80a0d39c305649abc2a263.tar.bz2 |
eb47.C eb53.C eb89.C, quoting Martin:
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
[eb128.c]
From-SVN: r20184
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb47.C | 42 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb53.C | 7 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb89.C | 10 |
3 files changed, 0 insertions, 59 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb47.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb47.C deleted file mode 100644 index d615d1c..0000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb47.C +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Test program to isolate internal compiler error. - */ - -#include <stdlib.h> -#include <string.h> -#include <assert.h> -#include <iostream.h> -#include <fstream.h> -#include <ctype.h> - -#include <vector.h> - -class MESSAGE { -public: - int MessNum; - int Size; - - // constructors - MESSAGE(int MN, int Sz); - - MESSAGE(); - -}; - -// Make a message if message rule is triggered by event. -// Returns either a MESSAGE * (if successful) or NULL (if not). -MESSAGE *MakMessage(int ev, int sz); - -int main(int argc, char **argv) { - vector<MESSAGE &> Messages; - vector<MESSAGE &>::iterator itMess; - - int MN, SZ; - - MN=SZ=1; - - MESSAGE *Messg=MakMessage(MN,SZ); - if (Messg) Messages.push_back(*Messg); -} - - diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb53.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb53.C deleted file mode 100644 index 328fee9..0000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb53.C +++ /dev/null @@ -1,7 +0,0 @@ -#include <list> - -main() -{ - list<int&> kill_the_compiler_now(1); -} - diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb89.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb89.C deleted file mode 100644 index 71995bf..0000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb89.C +++ /dev/null @@ -1,10 +0,0 @@ -#include <vector> - -int -main() -{ - int i; - vector<int&> v; - v.push_back(i); - return 0; -} |