URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// PR c++/9278
|
// PR c++/9278
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
typedef void VOID;
|
typedef void VOID;
|
|
|
int foo(void);
|
int foo(void);
|
int bar(VOID); // { dg-error "type|invalid use" }
|
int bar(VOID); // { dg-error "type|invalid use" }
|
|
|
template int foo(void);
|
template int foo(void);
|
template int bar(VOID); // { dg-error "type|invalid use" }
|
template int bar(VOID); // { dg-error "type|invalid use" }
|
|
|
struct A
|
struct A
|
{
|
{
|
int foo(void);
|
int foo(void);
|
int bar(VOID); // { dg-error "type|invalid use" }
|
int bar(VOID); // { dg-error "type|invalid use" }
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.