1 2 3 4 5 6 7 8 9 10 11 12 13
typedef struct { int a; } foo; int main() { foo f1[1] = {{1}}; foo f2 = {8}; f2 = f1[0]; return 0; }