view gcc/testsuite/gfortran.dg/convert_1.f90 @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { 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