1Test that llvm-nm returns an error because of the unknown file type, but 2keeps processing subsequent files. 3 4Note: We use a temporary file since the tests don't run with pipefail. 5 6RUN: touch %t 7RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \ 8RUN: %p/Inputs/trivial-object-test.elf-i386 > %t.log 9RUN: FileCheck %s < %t.log 10 11CHECK: U SomeOtherFunction 12CHECK: 00000000 T main 13CHECK: U puts 14 15CHECK: U SomeOtherFunction 16CHECK: 00000000 T main 17CHECK: U puts 18