diff options
Diffstat (limited to 'test/tools/llvm-cov/report.cpp')
-rw-r--r-- | test/tools/llvm-cov/report.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tools/llvm-cov/report.cpp b/test/tools/llvm-cov/report.cpp index 3322e1a2c0630..45d582aae34bf 100644 --- a/test/tools/llvm-cov/report.cpp +++ b/test/tools/llvm-cov/report.cpp @@ -33,3 +33,10 @@ int main() { bar(); return 0; } + +// Test that listing multiple functions in a function view works. +// RUN: llvm-cov show -o %t.dir %S/Inputs/report.covmapping -instr-profile=%S/Inputs/report.profdata -filename-equivalence -name-regex=".*" %s +// RUN: FileCheck -check-prefix=FUNCTIONS -input-file %t.dir/functions.txt %s +// FUNCTIONS: _Z3foob +// FUNCTIONS: _Z3barv +// FUNCTIONS: _Z4func |