OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20030815-1.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test completion of incomplete types.
2
   There used to be a bug where some types from incomplete
3
   list were accidentally lost.  */
4
/* { dg-do compile } */
5
/* { dg-options "" } */
6
 
7
typedef struct a E;
8
typedef struct b F;
9
typedef struct c G;
10
typedef struct d H;
11
struct a { int a; };
12
struct c { int c; };
13
struct d { int d; };
14
struct b { int b; };
15
int se = sizeof (E);
16
int sf = sizeof (F);
17
int sg = sizeof (G);
18
int sh = sizeof (H);

powered by: WebSVN 2.1.0

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