1// Purpose:
2// Check that the optional keyword argument 'on_line' makes a \DexLabel label
3// that line instead of the line the command is found on.
4//
5// RUN: %dexter_regression_test_build %s -o %t
6// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
7// CHECK: label_another_line.cpp: (1.0000)
8
9int main() {
10 int result = 0;
11 return result;
12}
13
14// DexLabel('test', on_line=11)
15// DexExpectWatchValue('result', '0', on_line=ref('test'))
16

source code of cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/label_another_line.cpp