diff options
Diffstat (limited to 'test/ELF/invalid/sht-group.s')
-rw-r--r-- | test/ELF/invalid/sht-group.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ELF/invalid/sht-group.s b/test/ELF/invalid/sht-group.s new file mode 100644 index 0000000000000..f28035f0dac9f --- /dev/null +++ b/test/ELF/invalid/sht-group.s @@ -0,0 +1,3 @@ +## sht-group.elf contains SHT_GROUP section with invalid sh_info. +# RUN: not ld.lld %p/Inputs/sht-group.elf -o %t2 2>&1 | FileCheck %s +# CHECK: invalid symbol index |