mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-12 05:54:31 +08:00
Commit bits missing from previous checkin
Commit bits missing from previous checkin * gfortran.dg/repeat_2.f90: Add dg-warning annotations. * gfortran.dg/repeat_4.f90: Likewise. From-SVN: r123765
This commit is contained in:
parent
4557bf49fa
commit
b5a31c9b43
@ -22,10 +22,10 @@ end subroutine bar
|
||||
|
||||
program test
|
||||
implicit none
|
||||
character(len=0), parameter :: s0 = ""
|
||||
character(len=0), parameter :: s0 = "" ! { dg-warning "zero length" }
|
||||
character(len=1), parameter :: s1 = "a"
|
||||
character(len=2), parameter :: s2 = "ab"
|
||||
character(len=0) :: t0
|
||||
character(len=0) :: t0 ! { dg-warning "CHARACTER variable has zero length" }
|
||||
character(len=1) :: t1
|
||||
character(len=2) :: t2
|
||||
integer :: i
|
||||
|
@ -3,10 +3,10 @@
|
||||
! { dg-do compile }
|
||||
program test
|
||||
implicit none
|
||||
character(len=0), parameter :: s0 = ""
|
||||
character(len=0), parameter :: s0 = "" ! { dg-warning "zero length" }
|
||||
character(len=1), parameter :: s1 = "a"
|
||||
character(len=2), parameter :: s2 = "ab"
|
||||
character(len=0) :: t0
|
||||
character(len=0) :: t0 ! { dg-warning "CHARACTER variable has zero length" }
|
||||
character(len=1) :: t1
|
||||
character(len=2) :: t2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user