1 ! RUN: %python %S/test_errors.py %s %flang_fc1
9 !ERROR: 't1' from host is not accessible
12 !BECAUSE: 't1' is hidden by this entity
16 !ERROR: 't2' not found in host scope
20 !ERROR: Derived type 't1' not found
24 !ERROR: 't3' from host is not accessible
28 !BECAUSE: 't3' is hidden by this entity
37 implicit none(external)
42 implicit none(external)
43 !ERROR: 's5' is an external procedure without the EXTERNAL attribute in a scope with IMPLICIT NONE(EXTERNAL)
47 !This case is a dangerous ambiguity allowed by the standard.
48 !ERROR: 't1' from host is not accessible
49 type(t1
), pointer :: p
50 !BECAUSE: 't1' is hidden by this entity
56 !This case is a dangerous ambiguity allowed by the standard.
58 !ERROR: 't1' from host is not accessible
59 type(t1
), pointer :: p
61 !BECAUSE: 't1' is hidden by this entity
69 integer, parameter :: ck
= kind('a')
76 character(kind
=ck
) :: x
! no error