2 ! { dg-options "-fbackslash" }
4 character(len=20,kind=4) :: s4
5 character(len=20,kind=1) :: s1
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" }
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" }
21 s4 = "foo\u0100" ! { dg-error "is not representable" }
22 s4 = "foo\U00000100" ! { dg-error "is not representable" }
30 s4 = 4_"foo\Uab98EF56"
31 s4 = 4_"foo\UFFFFFFFF"