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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [module_widestring_1.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 "-fbackslash" }
3
!
4
! Testcase from PR36162
5
module m
6
  character(*), parameter ::  a ='H\0z'
7
end module m
8
 
9
  use m
10
  character(len=20) :: s
11
  if (a /= 'H\0z') call abort
12
  if (ichar(a(2:2)) /= 0) call abort
13
  write (s,"(A)") a
14
end
15
 
16
! { 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.