summaryrefslogtreecommitdiff
path: root/test/Driver/unsupported-option.c
blob: d0611977a99e1f143f941ed3f1bc8e9ed60dec46 (plain)
1
2
3
4
5
6
7
// 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'?