12 lines · plain
1## Show that the archive library does not emit an error or add any symbols to2## the archive symbol table, when it encounters an unknown file type, but still3## adds the file to the archive.4 5# RUN: echo something > %t6# RUN: rm -f %t.a7# RUN: llvm-ar rc %t.a %t8# RUN: llvm-ar t %t.a | FileCheck %s --check-prefix=CONTENTS -DFILE=%basename_t9# RUN: llvm-nm --print-armap %t.a | FileCheck %s --allow-empty --implicit-check-not={{.}}10 11# CONTENTS: [[FILE]]12