summaryrefslogtreecommitdiffstats
path: root/test/Coverage/html-diagnostics.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Coverage/html-diagnostics.c')
-rw-r--r--test/Coverage/html-diagnostics.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Coverage/html-diagnostics.c b/test/Coverage/html-diagnostics.c
index 81b2cfa..be820fb 100644
--- a/test/Coverage/html-diagnostics.c
+++ b/test/Coverage/html-diagnostics.c
@@ -3,7 +3,10 @@
// RUN: cat %t/*.html | FileCheck %s
// CHECK: <h3>Annotated Source Code</h3>
-// CHECK: Dereference of null pointer
+
+// Without tweaking expr, the expr would hit to the line below
+// emitted to the output as comment.
+// CHECK: {{[D]ereference of null pointer}}
void f0(int x) {
int *p = &x;
OpenPOWER on IntegriCloud