Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/gomp/warn_truncated.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 1 ! { dg-do compile } |
2 ! | |
3 ! PR fortran/94709 | |
4 ! | |
5 ! Check that 'Line truncated' gets printed as appropriate | |
6 ! | |
7 integer i | |
8 i = 0 | |
9 !$omp target ! map() | |
10 !$omp end target | |
11 | |
12 !$omp target map() ! { dg-error "Line truncated" } | |
13 !$acc kernels copy() | |
14 !a = 5 | |
15 !$acc end kernels | |
16 !$omp end target | |
17 end | |
18 | |
19 ! { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } |