| # RUN: yaml2obj %p/Inputs/pdb1.yaml -o %t1.obj |
| # RUN: yaml2obj %p/Inputs/pdb2.yaml -o %t2.obj |
| # RUN: lld-link /debug /debugtype:invalid /pdb:%t.pdb /dll /out:%t.dll \ |
| # RUN: /entry:main /nodefaultlib %t1.obj %t2.obj 2>&1 | FileCheck %s |
| # CHECK: /debugtype: unknown option 'invalid' |
| |
| # RUN: lld-link /debug /debugtype:invalid,foo /pdb:%t.pdb /dll /out:%t.dll \ |
| # RUN: /entry:main /nodefaultlib %t1.obj %t2.obj 2>&1 | \ |
| # RUN: FileCheck --check-prefix=TWO %s |
| # TWO: /debugtype: unknown option 'invalid' |
| # TWO: /debugtype: unknown option 'foo' |