summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr52608.f90
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-17 18:20:34 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-17 18:20:34 +0000
commit833688d3d6b6236507ae9efdbc4e63c7ecb9bbab (patch)
tree50283bafb5903acfaf7850b678bda8a22226d918 /gcc/testsuite/gfortran.dg/pr52608.f90
parent06e6fdfb0064b570ee7f86cd7ed3e948b79cb1a2 (diff)
downloadgcc-833688d3d6b6236507ae9efdbc4e63c7ecb9bbab.tar.gz
2012-03-17 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/52608 * gfortran.dh/pr52608.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185487 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gfortran.dg/pr52608.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/pr52608.f9016
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/pr52608.f90 b/gcc/testsuite/gfortran.dg/pr52608.f90
new file mode 100644
index 00000000000..fc2b9c3f667
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/pr52608.f90
@@ -0,0 +1,16 @@
+! PR 52608
+! Testcase reduced from NIST testsuite FM110
+program fm110_snippet
+ implicit none
+ real :: aavs
+ character(len=100) :: s(2), s2(2)
+ AAVS = .087654
+35043 FORMAT (" ",16X,"COMPUTED: ",22X,1P/26X,F5.4,3X,2P,F5.3,+3P," ",&
+ (23X,F6.2),3X)
+5043 FORMAT (17X,"CORRECT: ",/24X,&
+ " .8765 8.765 87.65")
+ WRITE (s,35043) AAVS,AAVS,AAVS
+ WRITE (s2,5043)
+ if (s(2) /= s2(2)) call abort()
+end program fm110_snippet
+