AMDGPU: Allow f16/bf16 for DS_READ_TR16_B64 gfx950 builtins (#118297)
[llvm-project.git] / flang / test / Semantics / data08.f90
blob84cd6d1c125dbbee22769671444ea6b768e6d21d
1 ! RUN: %flang_fc1 -fdebug-dump-symbols -pedantic %s 2>&1 | FileCheck %s \
2 ! RUN: --check-prefixes=%if target={{.*-aix.*|sparc.*}} %{"CHECK","BE"%} \
3 ! RUN: %else %{"CHECK","LE"%}
5 ! CHECK: DATA statement value initializes 'jx' of type 'INTEGER(4)' with CHARACTER
6 ! CHECK: DATA statement value initializes 'jy' of type 'INTEGER(4)' with CHARACTER
7 ! CHECK: DATA statement value initializes 'jz' of type 'INTEGER(4)' with CHARACTER
8 ! CHECK: DATA statement value initializes 'kx' of type 'INTEGER(8)' with CHARACTER
9 ! LE: jx (InDataStmt) size=4 offset=0: ObjectEntity type: INTEGER(4) init:1684234849_4
10 ! BE: jx (InDataStmt) size=4 offset=0: ObjectEntity type: INTEGER(4) init:1633837924_4
11 ! LE: jy (InDataStmt) size=4 offset=4: ObjectEntity type: INTEGER(4) init:543384161_4
12 ! BE: jy (InDataStmt) size=4 offset=4: ObjectEntity type: INTEGER(4) init:1633837856_4
13 ! LE: jz (InDataStmt) size=4 offset=8: ObjectEntity type: INTEGER(4) init:1684234849_4
14 ! BE: jz (InDataStmt) size=4 offset=8: ObjectEntity type: INTEGER(4) init:1633837924_4
15 ! LE: kx (InDataStmt) size=8 offset=16: ObjectEntity type: INTEGER(8) init:7523094288207667809_8
16 ! BE: kx (InDataStmt) size=8 offset=16: ObjectEntity type: INTEGER(8) init:7017280452245743464_8
18 integer :: jx, jy, jz
19 integer(8) :: kx
20 data jx/4habcd/
21 data jy/3habc/
22 data jz/5habcde/
23 data kx/'abcdefgh'/
24 end