Clang Project

clang_source_code/test/Driver/unsupported-option.c
1// RUN: not %clang %s --hedonism -### 2>&1 | \
2// RUN: FileCheck %s
3// RUN: not %clang %s --hell -### 2>&1 | \
4// RUN: FileCheck %s --check-prefix=DID-YOU-MEAN
5
6// CHECK: error: unsupported option '--hedonism'
7// DID-YOU-MEAN: error: unsupported option '--hell', did you mean '--help'?
8