aboutsummaryrefslogtreecommitdiff
path: root/test/Coverage
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2010-10-21 03:59:06 +0000
committerAndrew Trick <atrick@apple.com>2010-10-21 03:59:06 +0000
commita366642af4a9bd3ca0fe4b4ff4f221b671a76bb5 (patch)
treec221771ef4a0c894544dd64e36b61faa43e98fbd /test/Coverage
parent20249a1af2e462dcafdd6a350f1c7967b264ff25 (diff)
putback r116782, it's a safe fix and should not break windows
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116994 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Coverage')
-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 81b2cfa588..be820fb90f 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;