aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Frontend/hlsl-entry.cpp
blob: a5d4bb6dda5618e5b5662a62a876b2428d5b709e (plain)
1
2
3
// 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++'