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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [struct1.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// Various struct lookup tests.  We didn't used to complain about
2
// the definition of C.
3
 
4
struct A;
5
typedef struct A B;             // { dg-error "previous declaration" }
6
struct B;                       // { dg-error "using typedef-name" }
7
 
8
typedef struct { int i; } C;    // { dg-error "previous declaration" }
9
struct C;                       // { dg-error "using typedef-name" }
10
 
11
struct D;
12
typedef struct D D;
13
typedef struct D { int i; } D;
14
typedef struct D D;

powered by: WebSVN 2.1.0

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