#include <iostream>
using namespace std;

int main() {
    struct A { int x; int y; int z; };
    A a{.y = 2, .x = 1}; // error; designator order does not match declaration order
    A b{.x = 1, .z = 2}; // ok, b.y initialized to 0
	
	return 0;
}