summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/unsupported-option.c
blob: 39f135e683485486631f73570fb31a64b4691e59 (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'?
OpenPOWER on IntegriCloud