diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/fmt_huge.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/fmt_huge.f90 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/fmt_huge.f90 b/gcc/testsuite/gfortran.dg/fmt_huge.f90 new file mode 100644 index 000000000..43c4e2ac2 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/fmt_huge.f90 @@ -0,0 +1,6 @@ +! { dg-do run } +! PR32446 printing big numbers in F0.1 format. +! This segfaulted before the patch. + open (10, status="scratch") + write (10,'(F0.1)') huge(1.0) + END |