OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [initialization_23.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR 40875: The error was missed and an ICE ensued.
4
!
5
! Contributed by Michael Richmond 
6
!
7
    MODULE cdf_aux_mod
8
      PUBLIC
9
      TYPE :: one_parameter
10
        CHARACTER :: name
11
      END TYPE one_parameter
12
      CHARACTER, PARAMETER :: the_alpha = one_parameter('c') ! { dg-error "Can't convert TYPE" }
13
      CHARACTER, PARAMETER :: the_beta = (/one_parameter('c')/) ! { dg-error "Incompatible ranks" }
14
    END MODULE cdf_aux_mod
15
 
16
! { dg-final { cleanup-modules "cdf_aux_mod" } }
17
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.