1 ! RUN: %python %S/test_errors.py %s %flang_fc1
4 real, parameter :: a
= 8.0
5 !ERROR: Must have INTEGER type, but is REAL(4)
8 ! C713 A scalar-int-constant-name shall be a named constant of type integer.
9 !ERROR: Must be a constant value
11 !TODO: should get error -- not scalar
12 !integer, parameter :: c(10) = 8
14 integer, parameter :: d
= 47
15 !ERROR: INTEGER(KIND=47) is not a supported type
17 !ERROR: Parameter 'e' not found
19 !ERROR: Missing initialization for parameter 'f'
20 integer, parameter :: f
22 !ERROR: REAL(KIND=23) is not a supported type
24 !ERROR: REAL*47 is not a supported type
26 !ERROR: COMPLEX*47 is not a supported type