[mlir] More fixes for 9fddaf6b14102963f12dbb9730f101fc52e662c1
[llvm-project.git] / cross-project-tests / debuginfo-tests / dexter / feature_tests / subtools / test / label_another_line.cpp
blob0d2fc0b8821e8f05ce59a48d37723fc3ca5f0181
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)
9 int main() {
10 int result = 0;
11 return result;
14 // DexLabel('test', on_line=11)
15 // DexExpectWatchValue('result', '0', on_line=ref('test'))