OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [crash39.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
// { dg-options "-w" }
3
// GROUPS passed old-abort
4
//#include 
5
#include 
6
 
7
class GetOpt
8
{
9
private:
10
  static char *nextchar;
11
   enum OrderingEnum { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER };
12
   OrderingEnum ordering;
13
  static int first_nonopt;
14
  static int last_nonopt;
15
  void exchange (char **argv);
16
public:
17
  char *optarg;
18
  int optind;
19
  int opterr;
20
 
21
  int    nargc;
22
  char **nargv;
23
  const char  *noptstring;
24
 
25
  GetOpt (int argc, char **argv, const char *optstring);
26
  int operator () (void);
27
};
28
//end 
29
#include 
30
 
31
class foo {public: foo () {}};
32
class bar {public: bar (const foo& dflt);};
33
class baz: public bar {public: baz (): bar (foo ()) {}};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.