10 lines · plain
1! RUN: %python %S/test_errors.py %s %flang_fc12!ERROR: No explicit type declared for 'func'3!ERROR: No explicit type declared for 'obj'4subroutine implicit_none(func, sub, obj)5 implicit none6 call sub ! ok7 print *, func()8 print *, obj9end10