OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
20030815-1.c
1
/* 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);