1520e5db2SStuart Ellis! Check the Flang Print Function Names example plugin doesn't count/print function/subroutine calls (should only count definitions) 2*1c5d1214SSlava Zakharin! This requires that the examples are built (LLVM_BUILD_EXAMPLES=ON) to access flangPrintFunctionNames.so 3520e5db2SStuart Ellis 4520e5db2SStuart Ellis! REQUIRES: plugins, examples, shell 5520e5db2SStuart Ellis 6520e5db2SStuart Ellis! RUN: %flang_fc1 -load %llvmshlibdir/flangPrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s 7520e5db2SStuart Ellis 8520e5db2SStuart Ellis! CHECK: ==== Functions: 0 ==== 9520e5db2SStuart Ellis! CHECK-NEXT: ==== Subroutines: 0 ==== 10520e5db2SStuart Ellis 11520e5db2SStuart Ellisprogram main 12520e5db2SStuart Ellis call subroutine1 13520e5db2SStuart Ellis fn1 = function1() 14520e5db2SStuart Ellis fn2 = function2() 15520e5db2SStuart Ellisend program main 16