| 1 | // This test started failing recently for unknown reasons. |
| 2 | // XFAIL:* |
| 3 | // RUN: %dexter_regression_test_cxx_build \ |
| 4 | // RUN: -fdebug-prefix-map=%S=/changed %s -o %t |
| 5 | // RUN: %dexter --fail-lt 1.0 -w \ |
| 6 | // RUN: --binary %t \ |
| 7 | // RUN: --debugger %dexter_regression_test_debugger \ |
| 8 | // RUN: --source-root-dir=%S --debugger-use-relative-paths -- %s |
| 9 | |
| 10 | #include <stdio.h> |
| 11 | int main() { |
| 12 | int x = 42; |
| 13 | printf(format: "hello world: %d\n" , x); // DexLabel('check') |
| 14 | } |
| 15 | |
| 16 | // DexExpectWatchValue('x', 42, on_line=ref('check')) |
| 17 | |