diff options
Diffstat (limited to 'lld/test/COFF/pdb-options.test')
-rw-r--r-- | lld/test/COFF/pdb-options.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lld/test/COFF/pdb-options.test b/lld/test/COFF/pdb-options.test index 2bd1d920ee4..f0edc2f3bc7 100644 --- a/lld/test/COFF/pdb-options.test +++ b/lld/test/COFF/pdb-options.test @@ -6,6 +6,11 @@ # RUN: lld-link /pdb:%t.pdb /entry:main /nodefaultlib %t1.obj %t2.obj # RUN: not ls %t.pdb +; If /DEBUG:NONE is specified after /DEBUG, /pdb is ignored. +# RUN: rm -f %t.pdb +# RUN: lld-link /DEBUG /pdb:%t.pdb /DEBUG:NONE /entry:main /nodefaultlib %t1.obj %t2.obj +# RUN: not ls %t.pdb + ; If /DEBUG and /pdb are specified, it uses the specified name. # RUN: lld-link /DEBUG /pdb:%t.pdb /entry:main /nodefaultlib %t1.obj %t2.obj # RUN: ls %t.pdb |