| 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}} |
| 4 |
void Entry(int GI : ) { } |
| 5 |
|
| 6 |
// expected-error@+1 {{unknown HLSL semantic 'SV_IWantAPony'}} |
| 7 |
void Pony(int GI : SV_IWantAPony) { } |