10 lines · plain
1// RUN: not %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -o - -fsyntax-only %s | FileCheck %s2 3// XFAIL: *4// This expectedly fails because RayQuery is an unsupported type.5// When it becomes supported, we should expect an error due to 6// the variable type being classified as "other", and according7// to the spec, err_hlsl_unsupported_register_type_and_variable_type8// should be emitted.9RayQuery<0> r1: register(t0);10