[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / multi-programs03.f90
blob62385b8e2f90673d452b0b0a41a49b98c279437e
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Test the restriction in 5.2.2
4 end
5 !ERROR: A source file cannot contain more than one main program
6 program m
7 end