[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / widechar_7.f90
blob5e42423172b5c794f7a5d24d061afcd6bdcc2002
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original" }
4 program test
6 character(kind=1,len=10) :: s1 = 4_"foobargee", t1 = 4_""
7 character(kind=4,len=10) :: s4 = "foobargee", t4 = ""
9 t1(5:5) = s1(6:6)
10 t4(5:5) = s4(6:6)
11 t4(5:5) = s1(6:6)
12 t1(5:5) = s4(6:6)
14 call sub (t1, t4)
16 end program test
18 ! { dg-final { scan-tree-dump-times "memmove" 0 "original" } }