Skip to content

Commit f6d0d23

Browse files
committed
Add new -fno-fortran-main to test for help message
1 parent 0f40a51 commit f6d0d23

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

flang/test/Driver/driver-help-hidden.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
! CHECK-NEXT: Select Windows run-time library
6565
! CHECK-NEXT: -fno-automatic Implies the SAVE attribute for non-automatic local objects in subprograms unless RECURSIVE
6666
! CHECK-NEXT: -fno-color-diagnostics Disable colors in diagnostics
67+
! CHECK-NEXT: -fno-fortran-main Don't link in Fortran main
6768
! CHECK-NEXT: -fno-integrated-as Disable the integrated assembler
6869
! CHECK-NEXT: -fno-lto Disable LTO mode (default)
6970
! CHECK-NEXT: -fno-ppc-native-vector-element-order

flang/test/Driver/driver-help.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
! HELP-NEXT: Select Windows run-time library
5555
! HELP-NEXT: -fno-automatic Implies the SAVE attribute for non-automatic local objects in subprograms unless RECURSIVE
5656
! HELP-NEXT: -fno-color-diagnostics Disable colors in diagnostics
57+
! HELP-NEXT: -fno-fortran-main Don't link in Fortran main
5758
! HELP-NEXT: -fno-integrated-as Disable the integrated assembler
5859
! HELP-NEXT: -fno-lto Disable LTO mode (default)
5960
! HELP-NEXT: -fno-ppc-native-vector-element-order

0 commit comments

Comments
 (0)