summaryrefslogtreecommitdiff
path: root/test/COFF/Inputs/pdb-diff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/Inputs/pdb-diff.cpp')
-rw-r--r--test/COFF/Inputs/pdb-diff.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/COFF/Inputs/pdb-diff.cpp b/test/COFF/Inputs/pdb-diff.cpp
new file mode 100644
index 000000000000..f9acd68d1199
--- /dev/null
+++ b/test/COFF/Inputs/pdb-diff.cpp
@@ -0,0 +1,10 @@
+// Build with cl:
+// cl.exe /Z7 pdb-diff.cpp /link /debug /pdb:pdb-diff-cl.pdb
+// /nodefaultlib /entry:main
+// Build with lld (after running the above cl command):
+// lld-link.exe /debug /pdb:pdb-diff-lld.pdb /nodefaultlib
+// /entry:main pdb-diff.obj
+
+void *__purecall = 0;
+
+int main() { return 42; }