| 1 |
! RUN: bbc -emit-fir %S/target_definition.f90 |
| 2 |
! RUN: bbc -emit-fir %s -o - | FileCheck %s |
| 3 |
|
| 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 |