Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Lower / target_use.f90
blob9602cc296a1e8b5da7fa390f2d63af73b50cdf20
1 ! RUN: bbc -emit-fir %S/target_definition.f90
2 ! RUN: bbc -emit-fir %s -o - | FileCheck %s
4 ! Test TARGET attributes on a declaration of a global symbol.
5 ! CHECK: fir.global @_QMtarget_modEx target : f32
6 real function test()
7 use target_mod
8 test = x
9 end function test