1 ! RUN: %python %S/test_errors.py %s %flang_fc1
3 !PORTABILITY: Name 'p' declared in a main program should not have the same name as the main program
7 !PORTABILITY: Name 'm' declared in a module should not have the same name as the module
11 !PORTABILITY: Name 'sm' declared in a submodule should not have the same name as the submodule
15 !PORTABILITY: Name 'bd' declared in a BLOCK DATA subprogram should not have the same name as the BLOCK DATA subprogram
24 !ERROR: Module 'm2' cannot USE itself
30 !ERROR: 's' is already declared in this scoping unit
33 function f() result(res
)
35 !ERROR: 'f' is already declared in this scoping unit
36 !ERROR: The type of 'f' has already been declared