8 lines · plain
1// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - %s -verify2// RUN: %clang_cc1 -triple spirv-unknown-vulkan1.3-compute -x hlsl -o - %s -verify3 4#define SomeDefine SV_IWantAPony5 6// expected-error@7 {{unknown HLSL semantic 'SV_IWantAPony'}}7void Pony(int GI : SomeDefine) { }8