llvm-for-llvmta/test/tools/llvm-size/unknown-format.test

5 lines
232 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
## Show that the an error is emitted if an unknown value is passed to --format.
# RUN: not llvm-size --format=unknown 2>&1 | FileCheck %s
# CHECK: {{.*}}llvm-size{{.*}}: for the --format option: Cannot find option named 'unknown'!