summaryrefslogtreecommitdiff
path: root/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/unreachable_on_line.cpp
blob: e16805f6dee34601baa025b755d7d89e535ef992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 --dump-input-context=999999999 %s
// CHECK: unreachable_on_line.cpp:

int
main()
{
  return 1;  // DexLabel('this_one')
}

// DexUnreachable(on_line=ref('this_one'))