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