summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/convert_1.f90
blob: 87d3babb6770e518ac04691d8d19c31eb69bf162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
! { dg-do compile }
! PR 26201: Check that the __convert_*_* functions are treated as intrinsics
! rather than module functions.
! Testcase contributed by Philippe Schaffnit and François-Xavier Coudert.
MODULE MODULE_A
    REAL :: a = 0
END MODULE MODULE_A

MODULE MODULE_B
    REAL :: b = 0
END MODULE MODULE_B

USE MODULE_A
USE MODULE_B
a = 0
END

! { dg-final { cleanup-modules "MODULE_A MODULE_B" } }