1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
4 !ERROR: Generic interface 'foo' has both a function and a subroutine
16 !ERROR: Generic interface 'foo' has both a function and a subroutine
28 !ERROR: Generic interface 'foo' has both a function and a subroutine
43 !ERROR: Generic interface 'foo' may only contain functions due to derived type with same name
61 !ERROR: Cannot call function 'foo' like a subroutine
63 !ERROR: Cannot call subroutine 'bar' like a function