1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Ensures that things that aren't procedures aren't allowed to be called.
17 !ERROR: 'm' is not a callable procedure
19 !ERROR: Cannot call function 'i' like a subroutine
21 !ERROR: Cannot call function 'ip' like a subroutine
23 !ERROR: 't' is not a callable procedure
25 !ERROR: 'k' is not a procedure
27 !ERROR: 'len' is not a procedure
29 !ERROR: Use of 'nml' as a procedure conflicts with its declaration
31 !ERROR: Cannot call function 'd' like a subroutine