Files
clang-p2996/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/unreachable.cpp
Stephen Tozer 45a40c1639 Re-reapply "[Dexter] Remove builder from Dexter"
This patch makes a further attempt to fix the tests broken by the
previous revision by ensuring that the command line for the modified
Dexter tests use -std=gnu++11, in keeping with the old build script.

This reverts commit 5647f2908d.
2023-09-06 15:06:07 +01:00

17 lines
353 B
C++

// Purpose:
// Check that \DexUnreachable correctly applies a penalty if the command
// line is stepped on.
//
// UNSUPPORTED: system-darwin
//
//
// RUN: %dexter_regression_test_build %s -o %t
// RUN: not %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: unreachable.cpp:
int
main()
{
return 1; // DexUnreachable()
}