llvm-for-llvmta/test/tools/llvm-symbolizer/unknown-argument.test

13 lines
426 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-symbolizer -x --flag 2>&1 | FileCheck %s
# CHECK: error: unknown argument '-x'{{$}}
# CHECK-NEXT: error: unknown argument '--flag'{{$}}
# RUN: not llvm-symbolizer --inline 2>&1 | FileCheck %s --check-prefix=SUGGEST
# SUGGEST: error: unknown argument '--inline', did you mean '--inlines'?
# RUN: not llvm-symbolizer -e 2>&1 | FileCheck %s --check-prefix=MISSING
# MISSING: error: -e: missing argument