| 1 |
// Purpose: |
| 2 |
// Check that \DexUnreachable has no effect if the command line is never |
| 3 |
// stepped on. |
| 4 |
// |
| 5 |
// UNSUPPORTED: system-darwin |
| 6 |
// |
| 7 |
// RUN: %dexter_regression_test_cxx_build %s -o %t |
| 8 |
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s |
| 9 |
// CHECK: unreachable_on_line.cpp: |
| 10 |
|
| 11 |
int main() |
| 12 |
{ |
| 13 |
return 0; |
| 14 |
return 1; // DexLabel('this_one') |
| 15 |
} |
| 16 |
|
| 17 |
|
| 18 |
// DexUnreachable(on_line=ref('this_one')) |
| 19 |
// DexUnreachable(from_line=ref('this_one'), to_line=ref('this_one')) |