1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
5 real, parameter :: a
= 8.0
6 !ERROR: Must have INTEGER type, but is REAL(4)
9 ! C713 A scalar-int-constant-name shall be a named constant of type integer.
10 !ERROR: Must be a constant value
12 !TODO: should get error -- not scalar
13 !integer, parameter :: c(10) = 8
15 integer, parameter :: d
= 47
16 !ERROR: INTEGER(KIND=47) is not a supported type
18 !ERROR: Parameter 'e' not found
20 !ERROR: Missing initialization for parameter 'f'
21 integer, parameter :: f
23 !ERROR: REAL(KIND=23) is not a supported type
25 !ERROR: REAL*47 is not a supported type
27 !ERROR: COMPLEX*47 is not a supported type