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:
parent
d46f7484c3
commit
631253eb70
@ -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);
|
||||
}
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
#include <list>
|
||||
|
||||
main()
|
||||
{
|
||||
list<int&> kill_the_compiler_now(1);
|
||||
}
|
||||
|
@ -1,10 +0,0 @@
|
||||
#include <vector>
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
int i;
|
||||
vector<int&> v;
|
||||
v.push_back(i);
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user