Files
clang-p2996/debuginfo-tests/dexter/feature_tests/subtools/test/label_another_line.cpp
OCHyams 98e7911f95 [dexter] Change line label reference syntax to enable label-relative offsets (2/2)
Update dexter tests to use the new line label reference syntax introduced in D101147.

Updated with:
https://gist.github.com/OCHyams/8255efe7757cac266440ed2ba55f1442

Reviewed By: chrisjackson, jmorse

Differential Revision: https://reviews.llvm.org/D101148
2021-05-21 08:58:58 +01:00

18 lines
448 B
C++

// REQUIRES: lldb
// UNSUPPORTED: system-windows
//
// Purpose:
// Check that the optional keyword argument 'on_line' makes a \DexLabel label
// that line instead of the line the command is found on.
//
// RUN: %dexter_regression_test -- %s | FileCheck %s
// CHECK: label_another_line.cpp: (1.0000)
int main() {
int result = 0;
return result;
}
// DexLabel('test', on_line=13)
// DexExpectWatchValue('result', '0', on_line=ref('test'))