blob: 7047c1fdfa3b13712935d3aa45fbfbbcff8cadb0 [file] [log] [blame]
Zachary Turner58db03a2018-11-19 15:12:34 +00001REQUIRES: system-windows, msvc
2RUN: %clang_cl /Zi %S/Inputs/VariablesLocationsTest.cpp /c /o %t.obj
3RUN: %msvc_link /debug:full %t.obj /out:%t.exe
Jonas Devlieghere924d5602018-07-13 10:29:27 +00004RUN: %lldb -b -s %S/Inputs/VariablesLocationsTest.script -- %t.exe | FileCheck %s
5
6CHECK: g_var = 2222
7
8CHECK: arg_0 = 1111
9CHECK: arg_1 = 0.123
10
11CHECK: loc_0 = 'x'
12CHECK: loc_1 = 0.567
13
14CHECK: loc_0 = true
15CHECK: loc_1 = 3333