diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/hollerith5.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/hollerith5.f90 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/hollerith5.f90 b/gcc/testsuite/gfortran.dg/hollerith5.f90 new file mode 100644 index 0000000..ebd0a11 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/hollerith5.f90 @@ -0,0 +1,8 @@ + ! { dg-do compile } + implicit none + logical b + b = 4Habcd ! { dg-warning "has undefined result" } + end + +! { dg-warning "Hollerith constant" "const" { target *-*-* } 4 } +! { dg-warning "Conversion" "conversion" { target *-*-* } 4 } |