[llvm-pdbdump] Add support for dumping global variables.
[oota-llvm.git] / test / DebugInfo / PDB / Inputs / symbolformat.cpp
index 237913e7221a2a976f371a03b535058b73752442..5479b717cd9dc7133c5835b8cb4d9253a1a12141 100644 (file)
@@ -55,6 +55,9 @@ struct MemberTest {
 typedef int IntType;
 typedef A ClassAType;
 
+int g_global_int;
+void *g_global_pointer = nullptr;
+
 int main(int argc, char **argv) {
   // Force symbol references so the linker generates debug info
   B b;