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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [20030815-1.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* 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.