1 | // RUN: not %clang_cc1 %s -E --helium 2>&1 | \ |
---|---|
2 | // RUN: FileCheck %s |
3 | // RUN: not %clang_cc1 %s -E --hel[ 2>&1 | \ |
4 | // RUN: FileCheck %s --check-prefix=DID-YOU-MEAN |
5 | // RUN: not %clang %s -E -Xclang --hel[ 2>&1 | \ |
6 | // RUN: FileCheck %s --check-prefix=DID-YOU-MEAN |
7 | |
8 | // CHECK: error: unknown argument: '--helium' |
9 | // DID-YOU-MEAN: error: unknown argument '--hel[', did you mean '--help'? |
10 |