bolt/deps/llvm-18.1.8/clang/test/ParserHLSL/semantic_parsing.hlsl

8 lines
280 B
HLSL
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -ast-dump -o - %s -verify
// expected-error@+1 {{expected HLSL Semantic identifier}}
void Entry(int GI : ) { }
// expected-error@+1 {{unknown HLSL semantic 'SV_IWantAPony'}}
void Pony(int GI : SV_IWantAPony) { }