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 ====