URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
|
|
struct test_box
|
struct test_box
|
{
|
{
|
void print(void);
|
void print(void);
|
};
|
};
|
|
|
void test (test_box *); // { dg-error "" } illegal code
|
void test (test_box *); // { dg-error "" } illegal code
|
|
|
class test_square
|
class test_square
|
{
|
{
|
friend void test (test_box *); // { dg-error "" } does not match
|
friend void test (test_box *); // { dg-error "" } does not match
|
}
|
}
|
|
|
|
|
|
|
template void test(BOX *the_box) // { dg-error "" } semicolon missing
|
template void test(BOX *the_box) // { dg-error "" } semicolon missing
|
{x
|
{x
|
the_box->print();
|
the_box->print();
|
};
|
};
|
|
|
template void test<> (test_box *); // { dg-error "" }
|
template void test<> (test_box *); // { dg-error "" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.