1#
2# Check if the index is appearing properly in the output file
3#
4RUN: llvm-nm -M %p/Inputs/libsimple_archive.a | FileCheck -check-prefix=CHECKIDX %s
5
6CHECKIDX: Archive map
7CHECKIDX: abcdefghijklmnopqrstuvwxyz12345678 in 1.o
8CHECKIDX: main in 1.o
9CHECKIDX: 1.o:
10CHECKIDX: 00000000 D abcdefghijklmnopqrstuvwxyz12345678
11CHECKIDX:          U fn1
12CHECKIDX: 00000000 T main
13