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
This commit is contained in:
Robert Lipe 1998-06-02 19:44:07 +00:00
parent d46f7484c3
commit 631253eb70
3 changed files with 0 additions and 59 deletions

View File

@ -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);
}

View File

@ -1,7 +0,0 @@
#include <list>
main()
{
list<int&> kill_the_compiler_now(1);
}

View File

@ -1,10 +0,0 @@
#include <vector>
int
main()
{
int i;
vector<int&> v;
v.push_back(i);
return 0;
}