brintos

brintos / llvm-project-archived public Read only

0
0
Text · 315 B · 88b31e4 Raw
12 lines · plain
1! RUN: bbc -emit-fir %s -o - | FileCheck %s2 3! Test TARGET attributes on a definition of a global symbol.4! CHECK: fir.global @_QMtarget_modEx target : f32 {5! CHECK:   %[[init:.*]] = fir.zero_bits f326! CHECK:   fir.has_value %[[init]] : f327! CHECK: }8 9module target_mod10  real, target :: x11end module target_mod12