You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
181 B
10 lines
181 B
10 years ago
|
|
||
|
struct X { int i, j, k = 42; };
|
||
|
|
||
|
int someFunc()
|
||
|
{
|
||
|
X a[] = { 1, 2, 3, 4, 5, 6 };
|
||
|
X b[2] = { { 1, 2, 3 }, { 4, 5, 6 } };
|
||
|
return a[0].k == b[0].k && a[1].k == b[1].k ? 0 : 1;
|
||
|
}
|