blob: 1f39f7551a25ba8c6ff5cfe0c101348d25f2d15c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
! { dg-do compile }
! PR fortran/45474
! Definability checks for INTENT([IN]OUT) and intrinsics.
! Contributed by Tobias Burnus, burnus@gcc.gnu.org.
call execute_command_line("date", .true.,(1),1,'aa') ! { dg-error "variable definition context" }
call execute_command_line("date", .true.,1,(1),'aa') ! { dg-error "variable definition context" }
call execute_command_line("date", .true.,1,1,('aa')) ! { dg-error "variable definition context" }
end
|