Files
clang-p2996/flang/test/Lower/OpenMP/declare-target-interface.f90
Kiran Chandramohan 89b31c9c32 [Flang][OpenMP] Fix a crash for declare target in an interface (#117709)
This is a point fix for the crash in #116426. Leaving the bug open to
further explore declare target issues for interfaces.
2024-11-27 14:20:34 +00:00

12 lines
273 B
Fortran

!RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
!RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-is-device %s -o - | FileCheck %s
!CHECK: module attributes
module iface
interface
subroutine a()
!$omp declare target
end subroutine
end interface
end module