xref: /llvm-project/clang/test/ParserHLSL/semantic_parsing.hlsl (revision 1fdf952deeb9a02aa34794af3c1a7d13a30e068e)
1// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -ast-dump -o - %s -verify
2
3// expected-error@+1 {{expected HLSL Semantic identifier}}
4void Entry(int GI : ) { }
5
6// expected-error@+1 {{unknown HLSL semantic 'SV_IWantAPony'}}
7void Pony(int GI : SV_IWantAPony) { }
8