Sign in
llvm
/
llvm-project
/
flang
/
refs/heads/main
/
.
/
test
/
Semantics
/
multi-programs04.f90
blob: 54b0235aa78f05773362feca8956671865554262 [
file
] [
log
] [
blame
]
!
RUN
:
%
python
%
S
/
test_errors
.
py
%
s
%
flang_fc1
!
Test
the restriction
in
5.2
.
2
program m
end
!
ERROR
:
A source file cannot contain more than one main program
!
ERROR
:
'm'
is
already declared
in
this
scoping unit
program m
end