diff options
Diffstat (limited to 'gcc-4.8/gcc/testsuite/gfortran.dg/shape_8.f90')
-rw-r--r-- | gcc-4.8/gcc/testsuite/gfortran.dg/shape_8.f90 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc-4.8/gcc/testsuite/gfortran.dg/shape_8.f90 b/gcc-4.8/gcc/testsuite/gfortran.dg/shape_8.f90 new file mode 100644 index 000000000..edeb5fd8e --- /dev/null +++ b/gcc-4.8/gcc/testsuite/gfortran.dg/shape_8.f90 @@ -0,0 +1,10 @@ +! { dg-do compile } +! +! PR 60450: [4.7/4.8 Regression] ICE with SHAPE intrinsic +! +! Contributed by Dave Allured <dave.allured@noaa.gov> + + real, allocatable :: x(:,:) + allocate (x(3,2), source=99.) + print *, shape (x / 10.0) +end |