xref: /llvm-project/clang/test/Frontend/hlsl-entry.cpp (revision 10d6a34ef6e9792cace5f3ce769908d1ee04193a)
1 // RUN:not %clang_cc1 -triple dxil-pc-shadermodel6.3-compute -x c++ -hlsl-entry foo  %s  2>&1 | FileCheck %s --check-prefix=NOTHLSL
2 
3 // NOTHLSL:invalid argument '-hlsl-entry' not allowed with 'C++'
4