#version 310 es


struct T {
  uint k[2];
};

struct S {
  int m;
  T n[4];
};

uint f() {
  S a = S(0, T[4](T(uint[2](0u, 0u)), T(uint[2](0u, 0u)), T(uint[2](0u, 0u)), T(uint[2](0u, 0u))));
  return a.n[2].k[1];
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
}
