Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Lower / target_definition.f90
blob2bde8b31c4a1d26edf33e93e02a9dcb16541054f
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.undefined f32
6 ! CHECK: fir.has_value %[[init]] : f32
7 ! CHECK: }
9 module target_mod
10 real, target :: x
11 end module target_mod