OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [void1.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/9278
2
// { dg-do compile }
3
 
4
typedef void VOID;
5
 
6
int foo(void);
7
int bar(VOID);                // { dg-error "type|invalid use" }
8
 
9
template int foo(void);
10
template int bar(VOID);  // { dg-error "type|invalid use" }
11
 
12
struct A
13
{
14
  int foo(void);
15
  int bar(VOID);              // { dg-error "type|invalid use" }
16
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.