summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/coarray_14.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/coarray_14.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/coarray_14.f904
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/testsuite/gfortran.dg/coarray_14.f90 b/gcc/testsuite/gfortran.dg/coarray_14.f90
index 49188d60e1..d7eb6b6be0 100644
--- a/gcc/testsuite/gfortran.dg/coarray_14.f90
+++ b/gcc/testsuite/gfortran.dg/coarray_14.f90
@@ -47,9 +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
-
-! { dg-final { cleanup-modules "m" } }