Skip to content

Commit 179563c

Browse files
committed
Update test to reflect positive outcome for -fno-fortran-main
1 parent a87bdd4 commit 179563c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flang/test/Driver/no-duplicate-main.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
! RUN: %flang -o %t -c %s
55
! RUN: not %flang -o %t.exe %t %t.c-object 2>&1
66

7+
! RUN: %flang -fno-fortran-main -o %t.exe %t %t.c-object 2>&1
8+
79
! TODO: potentially add further checks to ensure that proper
810
! linker error messages are detected and checked via
911
! FileCheck.

0 commit comments

Comments
 (0)