Changeset View
Changeset View
Standalone View
Standalone View
flang/test/Driver/driver-help-hidden.f90
Show All 15 Lines | |||||
!---------------------------------------------------- | !---------------------------------------------------- | ||||
! CHECK:USAGE: flang-new | ! CHECK:USAGE: flang-new | ||||
! CHECK-EMPTY: | ! CHECK-EMPTY: | ||||
! CHECK-NEXT:OPTIONS: | ! CHECK-NEXT:OPTIONS: | ||||
! CHECK-NEXT: -### Print (but do not run) the commands to run for this compilation | ! CHECK-NEXT: -### Print (but do not run) the commands to run for this compilation | ||||
! CHECK-NEXT: -cpp Enable predefined and command line preprocessor macros | ! CHECK-NEXT: -cpp Enable predefined and command line preprocessor macros | ||||
! CHECK-NEXT: -c Only run preprocess, compile, and assemble steps | ! CHECK-NEXT: -c Only run preprocess, compile, and assemble steps | ||||
! CHECK-NEXT: -D <macro>=<value> Define <macro> to <value> (or 1 if <value> omitted) | ! CHECK-NEXT: -D <macro>=<value> Define <macro> to <value> (or 1 if <value> omitted) | ||||
! CHECK-NEXT: -emit-llvm Use the LLVM representation for assembler and object files | |||||
! CHECK-NEXT: -E Only run the preprocessor | ! CHECK-NEXT: -E Only run the preprocessor | ||||
! CHECK-NEXT: -falternative-parameter-statement | ! CHECK-NEXT: -falternative-parameter-statement | ||||
! CHECK-NEXT: Enable the old style PARAMETER statement | ! CHECK-NEXT: Enable the old style PARAMETER statement | ||||
! CHECK-NEXT: -fbackslash Specify that backslash in string introduces an escape character | ! CHECK-NEXT: -fbackslash Specify that backslash in string introduces an escape character | ||||
! CHECK-NEXT: -fcolor-diagnostics Enable colors in diagnostics | ! CHECK-NEXT: -fcolor-diagnostics Enable colors in diagnostics | ||||
! CHECK-NEXT: -fdefault-double-8 Set the default double precision kind to an 8 byte wide type | ! CHECK-NEXT: -fdefault-double-8 Set the default double precision kind to an 8 byte wide type | ||||
! CHECK-NEXT: -fdefault-integer-8 Set the default integer kind to an 8 byte wide type | ! CHECK-NEXT: -fdefault-integer-8 Set the default integer kind to an 8 byte wide type | ||||
! CHECK-NEXT: -fdefault-real-8 Set the default real kind to an 8 byte wide type | ! CHECK-NEXT: -fdefault-real-8 Set the default real kind to an 8 byte wide type | ||||
Show All 13 Lines | |||||
! CHECK-NEXT: -fopenmp Parse OpenMP pragmas and generate parallel code. | ! CHECK-NEXT: -fopenmp Parse OpenMP pragmas and generate parallel code. | ||||
! CHECK-NEXT: -fxor-operator Enable .XOR. as a synonym of .NEQV. | ! CHECK-NEXT: -fxor-operator Enable .XOR. as a synonym of .NEQV. | ||||
! CHECK-NEXT: -help Display available options | ! CHECK-NEXT: -help Display available options | ||||
! CHECK-NEXT: -I <dir> Add directory to the end of the list of include search paths | ! CHECK-NEXT: -I <dir> Add directory to the end of the list of include search paths | ||||
! CHECK-NEXT: -module-dir <dir> Put MODULE files in <dir> | ! CHECK-NEXT: -module-dir <dir> Put MODULE files in <dir> | ||||
! CHECK-NEXT: -nocpp Disable predefined and command line preprocessor macros | ! CHECK-NEXT: -nocpp Disable predefined and command line preprocessor macros | ||||
! CHECK-NEXT: -o <file> Write output to <file> | ! CHECK-NEXT: -o <file> Write output to <file> | ||||
! CHECK-NEXT: -pedantic Warn on language extensions | ! CHECK-NEXT: -pedantic Warn on language extensions | ||||
! CHECK-NEXT: -print-effective-triple Print the effective target triple | |||||
! CHECK-NEXT: -print-target-triple Print the normalized target triple | |||||
! CHECK-NEXT: -P Disable linemarker output in -E mode | ! CHECK-NEXT: -P Disable linemarker output in -E mode | ||||
! CHECK-NEXT: -std=<value> Language standard to compile for | ! CHECK-NEXT: -std=<value> Language standard to compile for | ||||
! CHECK-NEXT: --target=<value> Generate code for the given target | |||||
! CHECK-NEXT: -U <macro> Undefine macro <macro> | ! CHECK-NEXT: -U <macro> Undefine macro <macro> | ||||
! CHECK-NEXT: --version Print version information | ! CHECK-NEXT: --version Print version information | ||||
! CHECK-NEXT: -W<warning> Enable the specified warning | ! CHECK-NEXT: -W<warning> Enable the specified warning | ||||
! CHECK-NEXT: -Xflang <arg> Pass <arg> to the flang compiler | ! CHECK-NEXT: -Xflang <arg> Pass <arg> to the flang compiler | ||||
!------------------------------------------------------------- | !------------------------------------------------------------- | ||||
! EXPECTED OUTPUT FOR FLANG DRIVER (flang-new) | ! EXPECTED OUTPUT FOR FLANG DRIVER (flang-new) | ||||
!------------------------------------------------------------- | !------------------------------------------------------------- | ||||
! ERROR-FLANG: error: unknown argument '-help-hidden'; did you mean '--help-hidden'? | ! ERROR-FLANG: error: unknown argument '-help-hidden'; did you mean '--help-hidden'? | ||||
!------------------------------------------------------------- | !------------------------------------------------------------- | ||||
! EXPECTED OUTPUT FOR FLANG FRONTEND DRIVER (flang-new -fc1) | ! EXPECTED OUTPUT FOR FLANG FRONTEND DRIVER (flang-new -fc1) | ||||
!------------------------------------------------------------- | !------------------------------------------------------------- | ||||
! Frontend driver -help-hidden is not supported | ! Frontend driver -help-hidden is not supported | ||||
! ERROR-FLANG-FC1: error: unknown argument: '{{.*}}' | ! ERROR-FLANG-FC1: error: unknown argument: '{{.*}}' | ||||