diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/coarray_14.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_14.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/coarray_14.f90 b/gcc/testsuite/gfortran.dg/coarray_14.f90 index 3097eede7..d7eb6b6be 100644 --- a/gcc/testsuite/gfortran.dg/coarray_14.f90 +++ b/gcc/testsuite/gfortran.dg/coarray_14.f90 @@ -47,7 +47,7 @@ end subroutine test program myTest type t end type t -type(t), allocatable :: a[:] +class(t), allocatable :: a[:] allocate (t :: a) ! { dg-error "Coarray specification required in ALLOCATE statement" } allocate (t :: a[*]) ! OK end program myTest |