summaryrefslogtreecommitdiff
path: root/test/COFF/debug-fastlink.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/debug-fastlink.test')
-rw-r--r--test/COFF/debug-fastlink.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/COFF/debug-fastlink.test b/test/COFF/debug-fastlink.test
new file mode 100644
index 0000000000000..10b414195da35
--- /dev/null
+++ b/test/COFF/debug-fastlink.test
@@ -0,0 +1,12 @@
+# RUN: yaml2obj < %p/Inputs/pdb1.yaml > %t1.obj
+# RUN: yaml2obj < %p/Inputs/pdb2.yaml > %t2.obj
+
+; If /DEBUG:FASTLINK is specified, /DEBUG:FULL is used instead
+# RUN: rm -f %t.pdb
+# RUN: lld-link /DEBUG /pdb:%t.pdb /DEBUG:FASTLINK /entry:main /nodefaultlib %t1.obj %t2.obj \
+# RUN: 2>&1 | FileCheck %s
+
+# CHECK: /debug:fastlink unsupported; using /debug:full
+
+# RUN: ls %t.pdb
+