view gcc/testsuite/gfortran.dg/gomp/warn_truncated.f @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 2b5abeee2509
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