1 ## According to the ELF gABI, "Currently, an object file may have only one
2 ## section of each type [SHT_SYMTAB and SHT_DYNSYM], but this restriction may be
3 ## relaxed in the future."
4 ## This test shows that we emit an error if we encounter multiple SHT_SYMTAB
6 # RUN: yaml2obj %s -o %t
7 # RUN: not llvm-objcopy %t /dev/null 2>&1 | FileCheck %s
9 # CHECK: error: found multiple SHT_SYMTAB sections