gcc/testsuite/gfortran.dg/intrinsic_intent_1.f03
raw| 1 | ! { dg-do compile } |
| 2 | |
| 3 | ! PR fortran/45474 |
| 4 | ! Definability checks for INTENT([IN]OUT) and intrinsics. |
| 5 | |
| 6 | ! Contributed by Tobias Burnus, [email protected]. |
| 7 | |
| 8 | call execute_command_line("date", .true.,(1),1,'aa') ! { dg-error "variable definition context" } |
| 9 | call execute_command_line("date", .true.,1,(1),'aa') ! { dg-error "variable definition context" } |
| 10 | call execute_command_line("date", .true.,1,1,('aa')) ! { dg-error "variable definition context" } |
| 11 | end |