summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/dexter-tests/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'debuginfo-tests/dexter-tests/hello.c')
-rw-r--r--debuginfo-tests/dexter-tests/hello.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/debuginfo-tests/dexter-tests/hello.c b/debuginfo-tests/dexter-tests/hello.c
new file mode 100644
index 00000000000..bd94646aae6
--- /dev/null
+++ b/debuginfo-tests/dexter-tests/hello.c
@@ -0,0 +1,13 @@
+// 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')
OpenPOWER on IntegriCloud