mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-15 22:46:32 +00:00

This patch replaces invocations of clang with clang++ for a set of c++ files in the dexter cross-project tests. As a small additional change, this patch removes -lstdc++ from a test that did not appear to require it.
17 lines
357 B
C++
17 lines
357 B
C++
// Purpose:
|
|
// Check that \DexUnreachable correctly applies a penalty if the command
|
|
// line is stepped on.
|
|
//
|
|
// UNSUPPORTED: system-darwin
|
|
//
|
|
//
|
|
// RUN: %dexter_regression_test_cxx_build %s -o %t
|
|
// RUN: not %dexter_regression_test_run --binary %t -- %s | FileCheck %s
|
|
// CHECK: unreachable.cpp:
|
|
|
|
int
|
|
main()
|
|
{
|
|
return 1; // DexUnreachable()
|
|
}
|