xref: /llvm-project/clang/test/Driver/immediate-options.c (revision 0953fb4c68380760562e61a5a09979359eb498c1)
1 // RUN: %clang --help | FileCheck %s -check-prefix=HELP
2 // HELP: isystem
3 // HELP-NOT: ast-dump
4 // HELP-NOT: driver-mode
5 // HELP:     -Wa,
6 // HELP-NOT: -W{{[a-z][a-z]}}
7 
8 // Make sure that Flang-only options are not available in Clang
9 // HELP-NOT: test-io
10 
11 // RUN: %clang --help-hidden | FileCheck %s -check-prefix=HELP-HIDDEN
12 // HELP-HIDDEN: driver-mode
13 // HELP-HIDDEN-NOT: test-io
14 
15 // RUN: %clang -dumpversion | FileCheck %s -check-prefix=DUMPVERSION
16 // DUMPVERSION: {{[0-9]+\.[0-9.]+}}
17