llvm/debuginfo-tests/dexter-tests/hello.c
Jeremy Morse 984fad243d Reapply "Import Dexter to debuginfo-tests""
This reverts commit cb935f3456.

Discussion in D68708 advises that green dragon is being briskly
refurbished, and it's good to have this patch up testing it.
2019-10-31 16:51:53 +00:00

14 lines
335 B
C

// REQUIRES: system-windows
//
// RUN: %dexter --fail-lt 1.0 -w --builder 'clang-cl_vs2015' \
// RUN: --debugger 'dbgeng' --cflags '/Z7 /Zi' --ldflags '/Z7 /Zi' -- %s
#include <stdio.h>
int main() {
printf("hello world\n");
int x = 42;
__debugbreak(); // DexLabel('stop')
}
// DexExpectWatchValue('x', 42, on_line='stop')