1 // RUN: not %clang %s -cake-is-lie -%0 -%d -HHHH -munknown-to-clang-option -print-stats -funknown-to-clang-option 2>&1 | \
2 // RUN: FileCheck %s
3 
4 // CHECK: unknown argument: '-cake-is-lie'
5 // CHECK: unknown argument: '-%0'
6 // CHECK: unknown argument: '-%d'
7 // CHECK: unknown argument: '-HHHH'
8 // CHECK: unknown argument: '-munknown-to-clang-option'
9 // CHECK: unknown argument: '-print-stats'
10 // CHECK: unknown argument: '-funknown-to-clang-option'
11 
12 
13 // RUN: %clang -S %s -o %t.s  -Wunknown-to-clang-option 2>&1 | FileCheck --check-prefix=IGNORED %s
14 
15 // IGNORED: warning: unknown warning option '-Wunknown-to-clang-option'
16