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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [cast3.C] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
// { dg-do assemble  }
2
// PRMS Id: 7088
3
 
4
struct string
5
{
6
  int length () const;
7
  string (string &);
8
  string (char * = 0);
9
  int operator [] (int);
10
  ~string ();
11
};
12
 
13
void _cook(const   string     raw, bool for_postscript)
14
{
15
  unsigned char c = (unsigned) ((string &)raw)[1];
16
}

powered by: WebSVN 2.1.0

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