SKIP: FAILED



Validation Failure:
#include <metal_stdlib>

using namespace metal;
void textureStore_969534() {
  arg_0.write(int4(), 1);
}

vertex void vertex_main() {
  textureStore_969534();
  return;
}

fragment void fragment_main() {
  textureStore_969534();
  return;
}

kernel void compute_main() {
  textureStore_969534();
  return;
}


tint_9ZMPd8.metal:5:3: error: use of undeclared identifier 'arg_0'
  arg_0.write(int4(), 1);
  ^
1 error generated.
