testsuite/small/record-9.c
raw| 1 | /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION" }*/ |
| 2 | |
| 3 | struct tm { |
| 4 | int tm_sec; |
| 5 | int tm_min; |
| 6 | int tm_hour; |
| 7 | int tm_mday; |
| 8 | int tm_mon; |
| 9 | int tm_year; |
| 10 | int tm_wday; |
| 11 | int tm_yday; |
| 12 | int tm_isdst; |
| 13 | long int tm_gmtoff; |
| 14 | const char *tm_zone; |
| 15 | }; |
| 16 | |
| 17 | void f(struct tm *a, struct tm *b) |
| 18 | { |
| 19 | *a = *b; |
| 20 | } |
| 21 | |
| 22 | /* { dg-final { scan-tree-dump "struct tm {" } } */ |