blob: dd14aa5291e28da75a6d3e7db7c9054186d8b41a [file] [log] [blame]
// RUN:not %clang -cc1 -triple dxil-pc-shadermodel6.3-compute -x c++ -hlsl-entry foo %s 2>&1 | FileCheck %s --check-prefix=NOTHLSL
// NOTHLSL:invalid argument '-hlsl-entry' not allowed with 'C++'