summaryrefslogtreecommitdiff
path: root/test/DebugInfo/PDB/Native/pdb-native-summary.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/DebugInfo/PDB/Native/pdb-native-summary.test')
-rw-r--r--test/DebugInfo/PDB/Native/pdb-native-summary.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/DebugInfo/PDB/Native/pdb-native-summary.test b/test/DebugInfo/PDB/Native/pdb-native-summary.test
new file mode 100644
index 000000000000..bd32f198a390
--- /dev/null
+++ b/test/DebugInfo/PDB/Native/pdb-native-summary.test
@@ -0,0 +1,11 @@
+; Test that the native PDB reader gets the PDB summary correct.
+; RUN: llvm-pdbdump pretty -native -color-output=false %p/../Inputs/empty.pdb \
+; RUN: | FileCheck -check-prefix=EMPTY %s
+
+; Reference output was generated with the DIA reader to ensure that the
+; `-native` option produces identical output.
+
+; EMPTY: Size: 102400 bytes
+; EMPTY: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
+; EMPTY: Age: 1
+; EMPTY: Attributes: HasPrivateSymbols