Skip to content

Commit 3044c06

Browse files
committed
remove mistakenly added files
1 parent 84851cd commit 3044c06

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

flang/lib/Semantics/check-declarations.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3622,7 +3622,6 @@ void CheckHelper::CheckDioDtvArg(const Symbol &proc, const Symbol &subp,
36223622
ioKind == common::DefinedIo::ReadUnformatted
36233623
? Attr::INTENT_INOUT
36243624
: Attr::INTENT_IN);
3625-
CheckDioDummyIsScalar(subp, *arg);
36263625
}
36273626
}
36283627

@@ -3688,7 +3687,6 @@ void CheckHelper::CheckDioAssumedLenCharacterArg(const Symbol &subp,
36883687
"Dummy argument '%s' of a defined input/output procedure must be assumed-length CHARACTER of default kind"_err_en_US,
36893688
arg->name());
36903689
}
3691-
CheckDioDummyIsScalar(subp, *arg);
36923690
}
36933691
}
36943692

flang/test/Semantics/io11.f90

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -809,24 +809,3 @@ subroutine wf(dtv, unit, iotype, v_list, iostat, iomsg)
809809
end
810810
end interface
811811
end
812-
813-
module m30
814-
type base
815-
character(5), allocatable :: data
816-
end type
817-
interface write(formatted)
818-
subroutine formattedRead (dtv, unit, iotype, v_list, iostat, iomsg)
819-
import base
820-
!ERROR: Dummy argument 'dtv' of a defined input/output procedure must be a scalar
821-
class (base), intent(in) :: dtv(10)
822-
integer, intent(in) :: unit
823-
!ERROR: Dummy argument 'iotype' of a defined input/output procedure must be a scalar
824-
character(*), intent(in) :: iotype(2)
825-
integer, intent(in) :: v_list(:)
826-
!ERROR: Dummy argument 'iostat' of a defined input/output procedure must be a scalar
827-
integer, intent(out) :: iostat(*)
828-
!ERROR: Dummy argument 'iomsg' of a defined input/output procedure must be a scalar
829-
character(*), intent(inout) :: iomsg(:)
830-
end subroutine
831-
end interface
832-
end module

0 commit comments

Comments
 (0)