1 // RUN: llvm-cov report %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata -no-colors 2>&1 | FileCheck %s
2 
3 // CHECK: Filename                    Regions    Miss   Cover Functions  Executed
4 // CHECK: TOTAL                             5       2  60.00%         4    75.00%
5 
6 void foo(bool cond) {
7   if (cond) {
8   }
9 }
10 
11 void bar() {
12 }
13 
14 void func() {
15 }
16 
17 int main() {
18   foo(false);
19   bar();
20   return 0;
21 }
22 
23 // llvm-cov doesn't work on big endian yet
24 // XFAIL: powerpc64-, s390x, mips-, mips64-, sparc
25