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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [merge_char_const.f90] - Blame information for rev 399

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 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.