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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! { dg-options "-O0" }
3
! This tests the patch for PR24311 in which the PRINT statement would
4
! ICE on trying to print a MERGE statement with character constants
5
! for the first two arguments.
6
!
7
! Contributed by Paul Thomas 
8
!
9
  integer, dimension(6) :: i = (/1,0,0,1,1,0/)
10
  print '(6a1)', Merge ("a", "b", i  == 1) ! { dg-output "abbaab" }
11
  end
12
 
13
 

powered by: WebSVN 2.1.0

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