1!RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
2!RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-is-device %s -o - | FileCheck %s
3
4!CHECK: module attributes
5module iface
6interface
7 subroutine a()
8 !$omp declare target
9 end subroutine
10end interface
11end module
12