URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [void1.C] - Rev 701
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/9278
// { dg-do compile }
typedef void VOID;
int foo(void);
int bar(VOID); // { dg-error "type|invalid use" }
template<int> int foo(void);
template<int> int bar(VOID); // { dg-error "type|invalid use" }
struct A
{
int foo(void);
int bar(VOID); // { dg-error "type|invalid use" }
};
Go to most recent revision | Compare with Previous | Blame | View Log