brintos

brintos / llvm-project-archived public Read only

0
0
Text · 313 B · 6b269b4 Raw
5 lines · plain
1// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -fsyntax-only -hlsl-entry main -verify %s2 3[numthreads(1,1, 1)]4void main(int GI) { } // expected-error{{semantic annotations must be present for all parameters of an entry function or patch constant function}} expected-note{{'GI' declared here}}5