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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [overload/] [operator3.C] - Blame information for rev 701

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/32756
2
// { dg-do compile }
3
 
4
// bogus overload warning
5
 
6
class QString;
7
 
8
struct QByteArray
9
{
10
  QByteArray ();
11
  bool operator!= (const QString & s2) const;
12
};
13
 
14
bool operator!= (const QByteArray & a1, const QByteArray & a2);
15
 
16
struct QString
17
{
18
  QString ();
19
  QString (const QByteArray & a);
20
};
21
 
22
QByteArray abbreviation ();
23
 
24
void
25
fromString ()
26
{
27
  QByteArray zoneAbbrev;
28
  if (abbreviation () != zoneAbbrev)
29
    {
30
    }
31
}

powered by: WebSVN 2.1.0

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