1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! Check for semantic errors for DREAL, DIMAG, DCONJG intrinsics
6 complex(4) :: c4
! test scalar
8 complex(16) :: c16(2) ! test array
10 !ERROR: Actual argument for 'a=' has bad type 'REAL(4)'
19 !ERROR: Actual argument for 'z=' has bad type 'REAL(4)'
22 !ERROR: Actual argument for 'z=' has bad type or kind 'COMPLEX(4)'
27 !ERROR: Actual argument for 'z=' has bad type or kind 'COMPLEX(16)'
30 !ERROR: Actual argument for 'z=' has bad type 'REAL(4)'
33 !ERROR: Actual argument for 'z=' has bad type or kind 'COMPLEX(4)'
38 !ERROR: Actual argument for 'z=' has bad type or kind 'COMPLEX(16)'