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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! PR34432 integer(kind=init_expression) function  is rejected
3
module m
4
  integer, parameter :: int_t = 4
5
end module m
6
 
7
program test
8
  print *, test4()
9
contains
10
 
11
integer(kind=(int_t)) function test4() ! This failed before patch
12
  use m
13
  test4 = 345
14
end function test4
15
 
16
 
17
end program test
18
 
19
! { dg-final { cleanup-modules "m" } }

powered by: WebSVN 2.1.0

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