1 ! RUN: %python %S/test_errors.py %s %flang_fc1
5 !ERROR: NAMELIST statement is not allowed in a BLOCK construct
11 open(12, file
='nl.out')
12 !ERROR: Namelist group 'nl' not found
18 open(12, file
='nl.out')
19 !ERROR: 'x' is not the name of a namelist group
30 open(12, file
='nl.out')
37 !ERROR: 'nl' is already declared in this scoping unit
47 !ERROR: 's6' is not a variable
49 !ERROR: 'f' is not a variable
59 !ERROR: 'x' is not a variable
66 !ERROR: The type of 'x' has already been implicitly declared
72 !ERROR: 'i' is already declared in this scoping unit
73 data ((x(i
,i
),i
=1,2),i
=1,2)/4*0.0/
84 !ERROR: 'nl2' is already declared in this scoping unit
87 !ERROR: 'nl3' is already declared in this scoping unit