aboutsummaryrefslogtreecommitdiff
path: root/lit/SymbolFile/PDB/Inputs/VariablesLocationsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lit/SymbolFile/PDB/Inputs/VariablesLocationsTest.cpp')
-rw-r--r--lit/SymbolFile/PDB/Inputs/VariablesLocationsTest.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/lit/SymbolFile/PDB/Inputs/VariablesLocationsTest.cpp b/lit/SymbolFile/PDB/Inputs/VariablesLocationsTest.cpp
new file mode 100644
index 000000000000..54d54c0d56a6
--- /dev/null
+++ b/lit/SymbolFile/PDB/Inputs/VariablesLocationsTest.cpp
@@ -0,0 +1,15 @@
+int g_var = 2222;
+
+void __fastcall foo(short arg_0, float arg_1) {
+ char loc_0 = 'x';
+ double loc_1 = 0.5678;
+}
+
+int main(int argc, char *argv[]) {
+ bool loc_0 = true;
+ int loc_1 = 3333;
+
+ foo(1111, 0.1234);
+
+ return 0;
+}