xref: /llvm-project/flang/test/Semantics/modfile29.f90 (revision dc453dcf760e6d558da3a4d7fff301baa5f37aba)
1! RUN: %python %S/test_modfile.py %s %flang_fc1
2! Check that implicitly typed entities get a type in the module file.
3
4module m
5  public :: a
6  private :: b
7  protected :: i
8  allocatable :: j
9end
10
11!Expect: m.mod
12!module m
13! real(4)::a
14! real(4),private::b
15! integer(4),protected::i
16! integer(4),allocatable::j
17!end
18