1 ! RUN: %python %S/test_errors.py %s %flang_fc1
3 !ERROR: Generic interface 'foo' has both a function and a subroutine
15 !ERROR: Generic interface 'foo' has both a function and a subroutine
27 !ERROR: Generic interface 'foo' has both a function and a subroutine
42 !ERROR: Generic interface 'foo' may only contain functions due to derived type with same name
60 !ERROR: Cannot call function 'foo' like a subroutine
62 !ERROR: Cannot call subroutine 'bar' like a function