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/] [overload6.C] - Diff between revs 305 and 338

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 305 Rev 338
// { dg-do assemble  }
// { dg-do assemble  }
// GROUPS passed overloading
// GROUPS passed overloading
struct temp_string {
struct temp_string {
  temp_string (const unsigned char);
  temp_string (const unsigned char);
};
};
class String {
class String {
 public:
 public:
  String& operator = (temp_string);
  String& operator = (temp_string);
  String& operator = (const String&);
  String& operator = (const String&);
};
};
class S {
class S {
 public:
 public:
  operator temp_string & () const;
  operator temp_string & () const;
};
};
S lbuf;
S lbuf;
static void e_r ()
static void e_r ()
{
{
  String a;
  String a;
  a = lbuf;
  a = lbuf;
 return;
 return;
}
}
 
 

powered by: WebSVN 2.1.0

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