blob: bed9ccbd1f21e5a4d14c7d7eb9ac6d76a25a38a5 [file] [log] [blame]
Rafael Espindola8b82a4d2013-07-03 15:46:03 +00001Test that llvm-nm returns an error because of the unknown file type, but
2keeps processing subsequent files.
3
Rafael Espindola8b82a4d2013-07-03 15:46:03 +00004RUN: touch %t
5RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
Rafael Espindola7a578022014-01-29 04:08:05 +00006RUN: %p/Inputs/trivial-object-test.elf-i386 | \
7RUN: FileCheck %s
Rafael Espindola8b82a4d2013-07-03 15:46:03 +00008
9CHECK: U SomeOtherFunction
10CHECK: 00000000 T main
11CHECK: U puts
12
13CHECK: U SomeOtherFunction
14CHECK: 00000000 T main
15CHECK: U puts