llvm-project/clang/test/Frontend/hlsl-entry.cpp
2022-09-29 14:26:01 -07:00

4 lines
198 B
C++

// 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++'