3 ! PR 35831: [F95] Shape mismatch check missing for dummy procedure argument
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
7 program test_attributes
9 call tester1 (a1
) ! { dg-error "ASYNCHRONOUS mismatch in argument" }
10 call tester2 (a2
) ! { dg-error "CONTIGUOUS mismatch in argument" }
11 call tester3 (a1
) ! { dg-error "VALUE mismatch in argument" }
12 call tester4 (a1
) ! { dg-error "VOLATILE mismatch in argument" }
24 subroutine tester1 (f1
)
27 real, asynchronous
:: a
32 subroutine tester2 (f2
)
35 real, contiguous
:: b(:)
40 subroutine tester3 (f3
)
48 subroutine tester4 (f4
)