2 // Check that we can use label-relative line numbers.
4 // RUN: %dexter_regression_test -v -- %s | FileCheck %s
6 // CHECK: label_offset.cpp: (1.0000)
8 int main() { // DexLabel('main')
15 DexExpectWatchValue('var', '0', from_line=ref('main')+2, to_line=ref('main')+3)
16 DexExpectProgramState({
19 'location': { 'lineno': ref('main')+2 },
20 'watches': { 'var': '0' }