llvm-for-llvmta/tools/clang/test/Driver/unsupported-option.c

8 lines
286 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not %clang %s --hedonism -### 2>&1 | \
// RUN: FileCheck %s
// RUN: not %clang %s --hell -### 2>&1 | \
// RUN: FileCheck %s --check-prefix=DID-YOU-MEAN
// CHECK: error: unsupported option '--hedonism'
// DID-YOU-MEAN: error: unsupported option '--hell'; did you mean '--help'?