SKIP: FAILED

<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: buf0 = struct @align(4) {
  three:i32 @offset(0)
}

main_out = struct @align(16) {
  x_GLF_color_1:vec4<f32> @offset(0), @location(0)
}

%b1 = block {  # root
  %x_6:ptr<uniform, buf0, read> = var @binding_point(0, 0)
  %gl_FragCoord:ptr<private, vec4<f32>, read_write> = var
  %x_GLF_color:ptr<private, vec4<f32>, read_write> = var
}

%main_1 = func():void -> %b2 {
  %b2 = block {
    %x_36:ptr<function, bool, read_write> = var
    %x_37_phi:ptr<function, bool, read_write> = var
    %7:ptr<uniform, i32, read> = access %x_6, 0u
    %x_29:i32 = load %7
    %x_30:bool = gt %x_29, 1i
    store %x_37_phi, %x_30
    if %x_30 [t: %b3] {  # if_1
      %b3 = block {  # true
        %x_34:f32 = load_vector_element %gl_FragCoord, 1u
        %11:bool = lt %x_34, -5.0f
        %12:bool = eq %11, false
        store %x_36, %12
        %13:bool = load %x_36
        store %x_37_phi, %13
        exit_if  # if_1
      }
    }
    %x_37:bool = load %x_37_phi
    if %x_37 [t: %b4, f: %b5] {  # if_2
      %b4 = block {  # true
        store %x_GLF_color, vec4<f32>(1.0f, 0.0f, 0.0f, 1.0f)
        exit_if  # if_2
      }
      %b5 = block {  # false
        store %x_GLF_color, vec4<f32>(0.0f)
        exit_if  # if_2
      }
    }
    ret
  }
}
%tint_symbol = @fragment func(%gl_FragCoord_param:vec4<f32> [@position]):main_out -> %b6 {
  %b6 = block {
    store %gl_FragCoord, %gl_FragCoord_param
    %17:void = call %main_1
    %18:vec4<f32> = load %x_GLF_color
    %19:main_out = construct %18
    ret %19
  }
}

unhandled variable address space
********************************************************************
*  The tint shader compiler has encountered an unexpected error.   *
*                                                                  *
*  Please help us fix this issue by submitting a bug report at     *
*  crbug.com/tint with the source program that triggered the bug.  *
********************************************************************
