Commit 45591aaf by Alexandre Oliva Committed by Jeff Law

crash20.C: Rework to avoid libg++.

        * g++.old-deja/g++.brendan/crash20.C: Rework to avoid libg++.
        * g++.old-deja/g++.brendan/crash30.C: Likewise.
        * g++.old-deja/g++.brendan/crash39.C: Likewise.
        * g++.old-deja/g++.law/operators4.C: Likewise.

From-SVN: r15407
parent 9687fea5
Thu Sep 11 10:00:03 1997 Alexandre Oliva (oliva@dcc.unicamp.br)
* g++.old-deja/g++.brendan/crash20.C: Rework to avoid libg++.
* g++.old-deja/g++.brendan/crash30.C: Likewise.
* g++.old-deja/g++.brendan/crash39.C: Likewise.
* g++.old-deja/g++.law/operators4.C: Likewise.
Thu Sep 11 09:53:40 1997 Joe Buck (jbuck@synopsys.com)
* g++.old-deja/g++.mike/p658.C: eliminate <bool.h> use.
......
// Build don't link:
// GROUPS passed old-abort
#include <Complex.h>
#include <complex>
typedef complex<double> Complex;
Complex ComputeVVself()
{
......
// Build don't link:
// GROUPS passed old-abort
#include <String.h>
#include <string>
main(void) {
String a[] = {"Hello"};
string a[] = {"Hello"};
}
// Build don't link:
// Special g++ Options: -w
// GROUPS passed old-abort
#include <GetOpt.h>
#include <String.h>
//#include <GetOpt.h>
#include <std.h>
#include <stdio.h>
class GetOpt
{
private:
static char *nextchar;
enum OrderingEnum { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER };
OrderingEnum ordering;
static int first_nonopt;
static int last_nonopt;
void exchange (char **argv);
public:
char *optarg;
int optind;
int opterr;
int nargc;
char **nargv;
const char *noptstring;
GetOpt (int argc, char **argv, const char *optstring);
int operator () (void);
};
//end <GetOpt.h>
#include <string>
class foo {public: foo () {}};
class bar {public: bar (foo& dflt);};
class baz: public bar {public: baz (): bar (foo ()) {}};
......@@ -5,7 +5,8 @@
// Subject: delete [size] pointer; Problem
// Message-ID: <92Sep3.220137edt.30@jarvis.csri.toronto.edu>
#include <Complex.h>
#include <complex>
typedef complex<double> Complex;
#include <stdio.h>
class Vector {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment