[ConstraintElim] Add support for decomposing gep nuw (#118639)
[llvm-project.git] / flang / test / Lower / target_definition.f90
blob88b31e4598d43c5d18df06787212739d187bd8a0
1 ! RUN: bbc -emit-fir %s -o - | FileCheck %s
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 f32
6 ! CHECK: fir.has_value %[[init]] : f32
7 ! CHECK: }
9 module target_mod
10 real, target :: x
11 end module target_mod