Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Semantics / data08.f90
blobbe56c7efa7ea3bd199884a9eed99a8e054fdbb39
1 ! RUN: %flang_fc1 -fdebug-dump-symbols %s 2>&1 | FileCheck %s
2 ! CHECK: DATA statement value initializes 'jx' of type 'INTEGER(4)' with CHARACTER
3 ! CHECK: DATA statement value initializes 'jy' of type 'INTEGER(4)' with CHARACTER
4 ! CHECK: DATA statement value initializes 'jz' of type 'INTEGER(4)' with CHARACTER
5 ! CHECK: DATA statement value initializes 'kx' of type 'INTEGER(8)' with CHARACTER
6 ! CHECK: jx (InDataStmt) size=4 offset=0: ObjectEntity type: INTEGER(4) init:1684234849_4
7 ! CHECK: jy (InDataStmt) size=4 offset=4: ObjectEntity type: INTEGER(4) init:543384161_4
8 ! CHECK: jz (InDataStmt) size=4 offset=8: ObjectEntity type: INTEGER(4) init:1684234849_4
9 ! CHECK: kx (InDataStmt) size=8 offset=16: ObjectEntity type: INTEGER(8) init:7523094288207667809_8
11 integer :: jx, jy, jz
12 integer(8) :: kx
13 data jx/4habcd/
14 data jy/3habc/
15 data jz/5habcde/
16 data kx/'abcdefgh'/
17 end