#include <metal_stdlib>

using namespace metal;
struct tint_symbol {
  float4 value [[position]];
};

void isFinite_8a23ad() {
  bool3 res =   isfinite(float3());
}

vertex tint_symbol vertex_main() {
  isFinite_8a23ad();
  tint_symbol const tint_symbol_1 = {.value=float4()};
  return tint_symbol_1;
}

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

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

