| ## Don't make symlinks on Windows. | |
| # UNSUPPORTED: system-windows | |
| # RUN: rm -rf %t | |
| # RUN: mkdir %t | |
| # RUN: ln -s llvm-dlltool %t/dlltool.exe | |
| # RUN: ln -s llvm-dlltool %t/dlltool-10 | |
| # RUN: not llvm-dlltool 2>&1 | FileCheck %s | |
| # RUN: not %t/dlltool.exe 2>&1 | FileCheck %s | |
| # RUN: not %t/dlltool-10 2>&1 | FileCheck %s | |
| # CHECK: USAGE: llvm-dlltool |