1 ## Check we are able to use integers as both
2 ## symbol name indices (st_name values) and symbol names.
3 # RUN: yaml2obj --docnum=1 %s > %t
4 # RUN: llvm-readobj --symbols %t | FileCheck %s
6 # CHECK: Name: test (1)
7 # CHECK: Name: test (1)
25 ## Check we do not allow specifying both Name and NameIndex at once.
26 # RUN: not yaml2obj --docnum=2 %s 2>&1 | FileCheck %s --check-prefix=ERR
27 # ERR: error: Name and NameIndex cannot both be specified for Symbol