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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [widechar_1.f90] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! { dg-options "-fbackslash" }
3
 
4
  character(len=20,kind=4) :: s4
5
  character(len=20,kind=1) :: s1
6
 
7
  s1 = "foo\u0000"
8
  s1 = "foo\u00ff"
9
  s1 = "foo\u0100" ! { dg-error "is not representable" }
10
  s1 = "foo\u0101" ! { dg-error "is not representable" }
11
  s1 = "foo\U00000101" ! { dg-error "is not representable" }
12
 
13
  s1 = 4_"foo bar"
14
  s1 = 4_"foo\u00ff"
15
  s1 = 4_"foo\u0101" ! { dg-error "cannot be converted" }
16
  s1 = 4_"foo\u1101" ! { dg-error "cannot be converted" }
17
  s1 = 4_"foo\UFFFFFFFF" ! { dg-error "cannot be converted" }
18
 
19
  s4 = "foo\u0000"
20
  s4 = "foo\u00ff"
21
  s4 = "foo\u0100" ! { dg-error "is not representable" }
22
  s4 = "foo\U00000100" ! { dg-error "is not representable" }
23
 
24
  s4 = 4_"foo bar"
25
  s4 = 4_"\xFF\x96"
26
  s4 = 4_"\x00\x96"
27
  s4 = 4_"foo\u00ff"
28
  s4 = 4_"foo\u0101"
29
  s4 = 4_"foo\u1101"
30
  s4 = 4_"foo\Uab98EF56"
31
  s4 = 4_"foo\UFFFFFFFF"
32
 
33
end

powered by: WebSVN 2.1.0

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