CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
59 lines
1.2 KiB
Fortran
59 lines
1.2 KiB
Fortran
! RUN: %python %S/test_errors.py %s %flang_fc1
|
|
!ERROR: No explicit type declared for 'f'
|
|
function f()
|
|
implicit none
|
|
end
|
|
|
|
!ERROR: No explicit type declared for 'y'
|
|
subroutine s(x, y)
|
|
implicit none
|
|
integer :: x
|
|
end
|
|
|
|
subroutine s2
|
|
implicit none
|
|
block
|
|
!ERROR: No explicit type declared for 'i'
|
|
i = 1
|
|
end block
|
|
contains
|
|
subroutine s3
|
|
!ERROR: No explicit type declared for 'j'
|
|
j = 2
|
|
end subroutine
|
|
end subroutine
|
|
|
|
module m1
|
|
implicit none
|
|
contains
|
|
subroutine s1
|
|
implicit real (a-h)
|
|
a1 = 1.
|
|
h1 = 1.
|
|
!ERROR: No explicit type declared for 'i1'
|
|
i1 = 1
|
|
!ERROR: No explicit type declared for 'z1'
|
|
z1 = 2.
|
|
contains
|
|
subroutine ss1
|
|
implicit integer(f-j) ! overlap with host scope import is OK
|
|
a2 = 1.
|
|
h2 = 1
|
|
i2 = 1
|
|
!ERROR: No explicit type declared for 'z2'
|
|
z2 = 2.
|
|
contains
|
|
!ERROR: An internal subprogram may not contain an internal subprogram
|
|
subroutine sss1
|
|
implicit none
|
|
!ERROR: No explicit type declared for 'a3'
|
|
a3 = 1.
|
|
end subroutine
|
|
end subroutine
|
|
end subroutine
|
|
subroutine s2
|
|
!ERROR: No explicit type declared for 'b1'
|
|
b1 = 1.
|
|
end subroutine
|
|
end module
|