Debian Codegraph @

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

raw
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_cxx_build %s -o %t
6 // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
7 // CHECK: label_another_line.cpp: (1.0000)
8
9 int main() {
10 int result = 0;
11 return result;
12 }
13
14 // DexLabel('test', on_line=11)
15 // DexExpectWatchValue('result', '0', on_line=ref('test'))