SKIP: INVALID

[numthreads(1, 1, 1)]
void unused_entry_point() {
  return;
}

float16_t get_f16() {
  return float16_t(1.0h);
}

void f() {
  float16_t tint_symbol = get_f16();
  vector<float16_t, 2> v2 = vector<float16_t, 2>((tint_symbol).xx);
  float16_t tint_symbol_1 = get_f16();
  vector<float16_t, 3> v3 = vector<float16_t, 3>((tint_symbol_1).xxx);
  float16_t tint_symbol_2 = get_f16();
  vector<float16_t, 4> v4 = vector<float16_t, 4>((tint_symbol_2).xxxx);
}
FXC validation failure:
<scrubbed_path>(6,1-9): error X3000: unrecognized identifier 'float16_t'


tint executable returned error: exit status 1
