#include <metal_stdlib>
using namespace metal;

struct S {
  int i;
};

struct tint_module_vars_struct {
  thread S* V;
};

void main_1(tint_module_vars_struct tint_module_vars) {
  int i = 0;
  i = (*tint_module_vars.V).i;
}

kernel void tint_symbol() {
  thread S V = {};
  tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.V=(&V)};
  main_1(tint_module_vars);
}
