summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/native_separators.c
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-cov/native_separators.c')
-rw-r--r--llvm/test/tools/llvm-cov/native_separators.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/native_separators.c b/llvm/test/tools/llvm-cov/native_separators.c
index 9e74c861af9..2133feb0b5c 100644
--- a/llvm/test/tools/llvm-cov/native_separators.c
+++ b/llvm/test/tools/llvm-cov/native_separators.c
@@ -19,3 +19,9 @@
// HTML: tools\llvm-cov\Inputs\native_separators.covmapping</pre>
int main() {}
+
+// Re-purpose this file to test that "Go to first unexecuted line" feature.
+
+// RUN: llvm-cov show %S/Inputs/native_separators.covmapping -instr-profile %t.profdata -filename-equivalence -format html -o %t.dir %s
+// RUN: FileCheck -input-file %t.dir/coverage/tmp/native_separators.c.html %s
+// CHECK-NOT: >Go to first unexecuted line<
OpenPOWER on IntegriCloud