diff options
Diffstat (limited to 'test/ELF/invalid/too-short.s')
-rw-r--r-- | test/ELF/invalid/too-short.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ELF/invalid/too-short.s b/test/ELF/invalid/too-short.s new file mode 100644 index 000000000000..deaf8218d6e0 --- /dev/null +++ b/test/ELF/invalid/too-short.s @@ -0,0 +1,5 @@ +# REQUIRES: x86 + +## too-short.elf file is a truncated ELF. +# RUN: not ld.lld %S/Inputs/too-short.elf -o %t 2>&1 | FileCheck %s +# CHECK: file is too short |