diff options
Diffstat (limited to 'test/old-elf/filenotfound.test')
-rw-r--r-- | test/old-elf/filenotfound.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/old-elf/filenotfound.test b/test/old-elf/filenotfound.test new file mode 100644 index 0000000000000..5020e9cf9b74e --- /dev/null +++ b/test/old-elf/filenotfound.test @@ -0,0 +1,3 @@ +# Check that a file that cannot be found results in a proper error message +RUN: not lld -flavor old-gnu -target x86_64 %p/Inputs/nofile.o 2>&1 | FileCheck %s +#CHECK: lld: cannot find file {{.+[\\/]}}nofile.o |