1 ! Check the Flang Print Function Names example plugin doesn't count/print Functions/Subroutines in interfaces
2 ! (It should only count definitions, which will appear elsewhere for interfaced functions/subroutines)
3 ! This requires that the examples are built (LLVM_BUILD_EXAMPLES=ON) to access flangPrintFunctionNames.so
5 ! REQUIRES: plugins, examples, shell
7 ! RUN: %flang_fc1 -load %llvmshlibdir/flangPrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s
9 ! CHECK: ==== Functions: 0 ====
10 ! CHECK-NEXT: ==== Subroutines: 0 ====
14 function interface_func()
17 subroutine interface_subr()