Debian Codegraph @

clang/test/SemaHLSL/resource_binding_attr_error_other.hlsl

raw
1 // RUN: not %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -o - -fsyntax-only %s | FileCheck %s
2
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 according
7 // to the spec, err_hlsl_unsupported_register_type_and_variable_type
8 // should be emitted.
9 RayQuery<0> r1: register(t0);