1struct tt {2 int sec;3 char *zone;4};56static struct tt tt1 = {.zone = "UTC"}, *pt1 = &tt1;7static struct tt tt2, *pt2 = &tt2;89int10main ( void )11{12 *pt2 = tt1;13 if (tt2.zone == 0)14 return 1 ;1516 return 0 ;17}
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1struct tt {2 int sec;3 char *zone;4};56static struct tt tt1 = {.zone = "UTC"}, *pt1 = &tt1;7static struct tt tt2, *pt2 = &tt2;89int10main ( void )11{12 *pt2 = tt1;13 if (tt2.zone == 0)14 return 1 ;1516 return 0 ;17}