aboutsummaryrefslogtreecommitdiff
path: root/clang/test/ParserHLSL/semantic_parsing.hlsl
blob: 34df1805c5a957b969e827e221a99834d4f4fd0f (plain)
1
2
3
4
5
6
7
// 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) { }