URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 384 |
// { dg-do assemble }
|
// { dg-do assemble }
|
|
|
struct S1 {
|
struct S1 {
|
~S1(); // { dg-error "" } candidate
|
~S1(); // { dg-error "" } candidate
|
};
|
};
|
|
|
S1::~S1() const // { dg-error "" } prototype does not match
|
S1::~S1() const // { dg-error "" } prototype does not match
|
{
|
{
|
}
|
}
|
|
|
|
|
struct S2 {
|
struct S2 {
|
~S2() volatile; // { dg-error "" } destructors may not be volatile
|
~S2() volatile; // { dg-error "" } destructors may not be volatile
|
};
|
};
|
|
|
|
|
template
|
template
|
struct S3 {
|
struct S3 {
|
~S3(); // { dg-error "" } candidate
|
~S3(); // { dg-error "" } candidate
|
};
|
};
|
|
|
template
|
template
|
S3::~S3() volatile // { dg-error "" } prototype does not match
|
S3::~S3() volatile // { dg-error "" } prototype does not match
|
{
|
{
|
}
|
}
|
|
|
|
|
template
|
template
|
struct S4 {
|
struct S4 {
|
~S4() const; // { dg-error "" } destructors may not be const
|
~S4() const; // { dg-error "" } destructors may not be const
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.