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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [structure_constructor_10.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 41070: [4.5 Regression] Error: Components of structure constructor '' at (1) are PRIVATE
4
!
5
! Contributed by Michael Richmond 
6
 
7
MODULE cdf_aux_mod
8
IMPLICIT NONE
9
 
10
TYPE :: one_parameter
11
  CHARACTER (8) :: name
12
END TYPE one_parameter
13
 
14
TYPE :: the_distribution
15
  CHARACTER (8) :: name
16
END TYPE the_distribution
17
 
18
TYPE (the_distribution), PARAMETER :: the_beta = the_distribution('cdf_beta')
19
END MODULE cdf_aux_mod
20
 
21
SUBROUTINE cdf_beta()
22
  USE cdf_aux_mod
23
  IMPLICIT NONE
24
  CALL check_complements(the_beta%name)
25
END SUBROUTINE cdf_beta
26
 
27
! { dg-final { cleanup-modules "cdf_aux_mod" } }
28
 

powered by: WebSVN 2.1.0

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