Debian Codegraph @

cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/unreachable_line_range.cpp

raw
1 // Purpose:
2 // Check that \DexUnreachable correctly applies a penalty if the command
3 // line is stepped on.
4 //
5 // UNSUPPORTED: system-darwin
6 //
7 //
8 // RUN: %dexter_regression_test_cxx_build %s -o %t
9 // RUN: not %dexter_regression_test_run --binary %t -- %s | FileCheck %s
10 // CHECK: unreachable_line_range.cpp:
11
12 int
13 main()
14 { // DexLabel('begin')
15 return 1;
16 } // DexLabel('end')
17
18 // DexUnreachable(from_line=ref('begin'), to_line=ref('end'))