[JITLink][arm64] Support arm64e JIT'd code (initially enabled for MachO only).
[llvm-project.git] / flang / test / Examples / print-fns-calls.f90
blobf45a0932ee215afebbbea545376ce8fc48bbe1d2
1 ! Check the Flang Print Function Names example plugin doesn't count/print function/subroutine calls (should only count definitions)
2 ! This requires that the examples are built (LLVM_BUILD_EXAMPLES=ON) to access flangPrintFunctionNames.so
4 ! REQUIRES: plugins, examples, shell
6 ! RUN: %flang_fc1 -load %llvmshlibdir/flangPrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s
8 ! CHECK: ==== Functions: 0 ====
9 ! CHECK-NEXT: ==== Subroutines: 0 ====
11 program main
12 call subroutine1
13 fn1 = function1()
14 fn2 = function2()
15 end program main