annotate gcc/testsuite/gfortran.dg/wtruncate_fix.f @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 c { dg-do compile }
kono
parents:
diff changeset
2 c { dg-options "-Wall" }
kono
parents:
diff changeset
3 c PR42852 -Wall warns about truncated lines when only a continuation character is truncated
kono
parents:
diff changeset
4 print *, "Hello!" & !xxxxx
kono
parents:
diff changeset
5 & // " World!"
kono
parents:
diff changeset
6 print *, "Hello!" & xxxxx
kono
parents:
diff changeset
7 & // " World!"
kono
parents:
diff changeset
8 print *, "Hello!" //
kono
parents:
diff changeset
9 & // " World!"
kono
parents:
diff changeset
10 end
kono
parents:
diff changeset
11 c { dg-warning "Line truncated" " " { target *-*-* } 6 }
kono
parents:
diff changeset
12 c { dg-warning "Line truncated" " " { target *-*-* } 8 }