8 integer, allocatable :: i(:), j(:)
9 real, allocatable :: x(:)
15 allocate(i(4), source=42, source=n) ! { dg-error "Redundant SOURCE tag found" }
17 allocate(integer(4) :: i(4), source=n) ! { dg-error "conflicts with the typespec" }
19 allocate(i(4), j(n), source=n) ! { dg-error "requires only a single entity" }
21 allocate(x(4), source=n) ! { dg-error "type incompatible with" }
23 allocate(i(4), source=m) ! { dg-error "must be scalar or have the same rank" }
25 allocate(i(4), source=k) ! { dg-error "shall have the same kind type" }