blob: 0ef81806e9fb93afa17b4c0e72db61a13194d0dc [file] [log] [blame] [edit]
! RUN: %flang -O1 -finstrument-functions -emit-llvm -S -o - %s 2>&1| FileCheck %s
subroutine func
end subroutine func
! CHECK: define void @func_()
! CHECK: {{.*}}call void @__cyg_profile_func_enter(ptr {{.*}}@func_, ptr {{.*}})
! CHECK: {{.*}}call void @__cyg_profile_func_exit(ptr {{.*}}@func_, ptr {{.*}})
! CHECK-NEXT: ret {{.*}}