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
43 !ERROR: The type of 'x' has already been implicitly declared
48 !ERROR: 's6' is not a variable
50 !ERROR: 'f' is not a variable
61 !ERROR: EXTERNAL attribute not allowed on 'x'
67 !ERROR: The type of 'x' has already been implicitly declared
73 !ERROR: 'i' is already declared in this scoping unit
74 data ((x(i
,i
),i
=1,2),i
=1,2)/4*0.0/
85 !ERROR: 'nl2' is already declared in this scoping unit
88 !ERROR: 'nl3' is already declared in this scoping unit