SKIP: FAILED

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

buf0 = struct @align(8) {
  injectionSwitch:vec2<f32> @offset(0)
}

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

%b1 = block {  # root
  %struct_array:ptr<private, array<struct_base, 3>, read_write> = var
  %x_8:ptr<uniform, buf0, read> = var @binding_point(0, 0)
  %x_GLF_color:ptr<private, vec4<f32>, read_write> = var
}

%main_1 = func():void -> %b2 {
  %b2 = block {
    %index:ptr<function, i32, read_write> = var
    store %struct_array, array<struct_base, 3>(struct_base(1i))
    store %index, 1i
    %6:ptr<private, i32, read_write> = access %struct_array, 1i, 2u
    store %6, 1i
    %7:ptr<private, i32, read_write> = access %struct_array, 1i, 1u
    %8:i32 = load %7
    %9:bool = eq %8, 1i
    if %9 [t: %b3, f: %b4] {  # if_1
      %b3 = block {  # true
        %10:ptr<uniform, vec2<f32>, read> = access %x_8, 0u
        %11:f32 = load_vector_element %10, 0u
        %12:i32 = convert %11
        %13:ptr<private, i32, read_write> = access %struct_array, %12, 2u
        %14:i32 = load %13
        store %index, %14
        exit_if  # if_1
      }
      %b4 = block {  # false
        %15:ptr<uniform, vec2<f32>, read> = access %x_8, 0u
        %16:f32 = load_vector_element %15, 1u
        %17:i32 = convert %16
        %18:ptr<private, i32, read_write> = access %struct_array, %17, 1u
        %19:i32 = load %18
        store %index, %19
        exit_if  # if_1
      }
    }
    %20:ptr<private, i32, read_write> = access %struct_array, 1i, 1u
    %21:i32 = load %20
    %22:bool = eq %21, 1i
    if %22 [t: %b5, f: %b6] {  # if_2
      %b5 = block {  # true
        store %x_GLF_color, vec4<f32>(1.0f, 0.0f, 0.0f, 1.0f)
        exit_if  # if_2
      }
      %b6 = block {  # false
        store %x_GLF_color, vec4<f32>(1.0f)
        exit_if  # if_2
      }
    }
    ret
  }
}
%tint_symbol = @fragment func():main_out -> %b7 {
  %b7 = block {
    %24:void = call %main_1
    %25:vec4<f32> = load %x_GLF_color
    %26:main_out = construct %25
    ret %26
  }
}

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.  *
********************************************************************
