blob: 19f781fa3757c7339426bc89301e334bddc798b2 [file] [log] [blame]
// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-vertex -x hlsl -finclude-default-header -o - %s -verify
// expected-error@+1 {{attribute 'SV_Position' is unsupported in 'vertex' shaders, requires pixel}}
float4 main(float4 a : SV_Position) {
return a;
}