blob: c8f4b0484dd7e1600611ed47a2054c0c52600f69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
C { dg-do compile }
C Tests the fix for PR30888, in which the dummy procedure would
C generate an error with the %VAL argument, even though it is
C declared EXTERNAL.
C
C Contributed by Peter W. Draper <p.w.draper@durham.ac.uk>
C
SUBROUTINE VALTEST( DOIT )
EXTERNAL DOIT
INTEGER P
INTEGER I
I = 0
P = 0
CALL DOIT( %VAL( P ) ) ! { dg-warning "Extension: argument list function" }
CALL DOIT( I )
CALL DOIT( %VAL( P ) ) ! { dg-warning "Extension: argument list function" }
END
|