2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / module_widestring_1.f90
blobf2e9fe23526eba2d0fc22908527943dc16e301a9
1 ! { dg-do run }
2 ! { dg-options "-fbackslash" }
4 ! Testcase from PR36162
5 module m
6 character(*), parameter :: a ='H\0z'
7 end module m
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
16 ! { dg-final { cleanup-modules "m" } }