1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Ensures that things that aren't procedures aren't allowed to be called.
13 !ERROR: 'i' is not a variable
18 !ERROR: 'm' is not a callable procedure
20 !ERROR: Cannot call function 'i' like a subroutine
22 !ERROR: Cannot call function 'ip' like a subroutine
24 !ERROR: 't' is not a callable procedure
26 !ERROR: 'k' is not a procedure
28 !ERROR: 'len' is not a procedure
30 !ERROR: Use of 'nml' as a procedure conflicts with its declaration
32 !ERROR: Cannot call function 'd' like a subroutine