2015-03-07 06:35:08 +08:00
|
|
|
struct complex_type {
|
|
|
|
struct { long l; } inner;
|
|
|
|
struct complex_type *complex_ptr;
|
|
|
|
};
|
|
|
|
|
2014-11-05 05:28:50 +08:00
|
|
|
int main() {
|
|
|
|
int i = 0;
|
2015-03-07 06:35:08 +08:00
|
|
|
struct complex_type c = { { 1L }, &c };
|
2014-11-05 05:28:50 +08:00
|
|
|
for (int j = 3; j < 20; j++)
|
|
|
|
{
|
2015-03-07 06:35:08 +08:00
|
|
|
c.inner.l += (i += j);
|
2014-11-05 05:28:50 +08:00
|
|
|
i = i - 1; // break here
|
|
|
|
}
|
|
|
|
return i;
|
|
|
|
}
|