view gcc/testsuite/gfortran.dg/gomp/warn_truncated.f @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

! { dg-do compile }
! { dg-additional-options "-Wall" }
!
! PR fortran/94709
!
! Check that 'Line truncated' gets printed as appropriate
!
c$omp target                                                            ! map()
c$omp end target

c$omp target                                                            map() ! { dg-warning "Line truncated" }
c$acc declare                                                           map()
ca =                                                                    5
c$omp end target
       end