hanchenye-llvm-project/llvm/test/tools/llvm-size/unknown-format.test

5 lines
232 B
Plaintext

## 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'!