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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [struct1.C] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 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.