1 // RUN: %clang --help | FileCheck %s -check-prefix=HELP
2 // HELP: isystem
3 // HELP-NOT: ast-dump
4 // HELP-NOT: driver-mode
5 
6 // Make sure that Flang-only options are not available in Clang
7 // HELP-NOT: test-io
8 
9 // RUN: %clang --help-hidden | FileCheck %s -check-prefix=HELP-HIDDEN
10 // HELP-HIDDEN: driver-mode
11 // HELP-HIDDEN-NOT: test-io
12 
13 // RUN: %clang -dumpversion | FileCheck %s -check-prefix=DUMPVERSION
14 // DUMPVERSION: {{[0-9]+\.[0-9.]+}}
15 
16 // Test if the -print-resource-dir option is accepted without error.
17 // Allow unspecified output because the value of CLANG_RESOURCE_DIR is unknown.
18 // RUN: %clang -print-resource-dir | FileCheck %s -check-prefix=PRINT-RESOURCE-DIR
19 // PRINT-RESOURCE-DIR: {{.+}}
20