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++.dg/] [overload/] [operator3.C] - Diff between revs 301 and 338

Only display areas with differences | Details | Blame | View Log

Rev 301 Rev 338
// PR c++/32756
// PR c++/32756
// { dg-do compile }
// { dg-do compile }
// bogus overload warning
// bogus overload warning
class QString;
class QString;
struct QByteArray
struct QByteArray
{
{
  QByteArray ();
  QByteArray ();
  bool operator!= (const QString & s2) const;
  bool operator!= (const QString & s2) const;
};
};
bool operator!= (const QByteArray & a1, const QByteArray & a2);
bool operator!= (const QByteArray & a1, const QByteArray & a2);
struct QString
struct QString
{
{
  QString ();
  QString ();
  QString (const QByteArray & a);
  QString (const QByteArray & a);
};
};
QByteArray abbreviation ();
QByteArray abbreviation ();
void
void
fromString ()
fromString ()
{
{
  QByteArray zoneAbbrev;
  QByteArray zoneAbbrev;
  if (abbreviation () != zoneAbbrev)
  if (abbreviation () != zoneAbbrev)
    {
    {
    }
    }
}
}
 
 

powered by: WebSVN 2.1.0

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