1## Show that llvm-size reports an error when passed an input file in an 2## unknown format. 3 4# RUN: not llvm-size %s 2>&1 | FileCheck %s -DFILE=%s --check-prefix=UNRECOGNIZED 5# UNRECOGNIZED: {{.*}}llvm-size{{(.*)}}: error: '[[FILE]]': The file was not recognized as a valid object file 6 7## Show that llvm-size reports an error when passed an input file in an 8## unsupported format. 9 10# RUN: yaml2obj %s -o %t 11# RUN: not llvm-size %t 2>&1 | FileCheck %s -DFILE=%t --check-prefix=NOTSUPPORTED 12# NOTSUPPORTED: {{.*}}llvm-size{{(.*)}}: error: '[[FILE]]': unsupported file type 13 14--- !minidump 15Streams: 16 - Type: LinuxAuxv 17 Size: 7 18 Content: 11223344556600 19