| 1 |
/* Test compilation of typedef composition in structs. */ |
| 2 |
|
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-O0 -gctf -dA" } */ |
| 5 |
|
| 6 |
typedef struct |
| 7 |
{ |
| 8 |
int day, month, year; |
| 9 |
} Date; |
| 10 |
|
| 11 |
typedef struct |
| 12 |
{ |
| 13 |
Date filedDate, fixedDate; |
| 14 |
int severity; |
| 15 |
} BugRef; |
| 16 |
|
| 17 |
BugRef CR2112; |