URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// GROUPS passed operators
|
// GROUPS passed operators
|
// opr-eq file
|
// opr-eq file
|
// Message-Id: <9301141514.AA05925@mi.el.utwente.nl>
|
// Message-Id: <9301141514.AA05925@mi.el.utwente.nl>
|
// From: klamer@mi.el.utwente.nl (Klamer Schutte)
|
// From: klamer@mi.el.utwente.nl (Klamer Schutte)
|
// Subject: 2.3.3: failed to detect error
|
// Subject: 2.3.3: failed to detect error
|
// Date: Thu, 14 Jan 93 16:14:21 +0100
|
// Date: Thu, 14 Jan 93 16:14:21 +0100
|
|
|
class B
|
class B
|
{
|
{
|
public:
|
public:
|
operator=(B &); // { dg-error "no type" }
|
operator=(B &); // { dg-error "no type" }
|
// { dg-message "candidate is" "note" { target *-*-* } 12 }
|
// { dg-message "candidate is" "note" { target *-*-* } 12 }
|
};
|
};
|
|
|
void
|
void
|
test(B &b1, const B &b2)
|
test(B &b1, const B &b2)
|
{
|
{
|
b1 = b2;// { dg-error "match" }
|
b1 = b2;// { dg-error "match" }
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.