repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Break circular dependency between FIR dialect and utilities
[llvm-project.git]
/
flang
/
test
/
Lower
/
target_definition.f90
blob
2bde8b31c4a1d26edf33e93e02a9dcb16541054f
1
! RUN: bbc -emit-fir %s -o - | FileCheck %s
2
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: }
8
9
module
target_mod
10
real
,
target
::
x
11
end module
target_mod