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 | |
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')) |
16 |