1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 ! test named constant declarations
4 function f1() result(x
)
5 !ERROR: A function result may not also be a named constant
6 integer, parameter :: x
= 1
8 integer, parameter :: x2
= 1
10 !ERROR: A named constant 'x2' may not appear in a COMMON block