Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Semantics / resolve02.f90
blob3323866ca8c68d94231589b78e7a66251c942019
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 subroutine s
3 !ERROR: Declaration of 'x' conflicts with its use as internal procedure
4 real :: x
5 contains
6 subroutine x
7 end
8 end
10 module m
11 !ERROR: Declaration of 'x' conflicts with its use as module procedure
12 real :: x
13 contains
14 subroutine x
15 end
16 end