]> granicus.if.org Git - clang/commitdiff
test/Coverage/html-diagnostics.c: Do not make hit "CHECK: Dereference of null pointer...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 19 Oct 2010 01:11:16 +0000 (01:11 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 19 Oct 2010 01:11:16 +0000 (01:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116782 91177308-0d34-0410-b5e6-96231b3b80d8

test/Coverage/html-diagnostics.c

index 81b2cfa588e3214756a1c7e96ab9c7f9f3c008fe..be820fb90f29b7df7e3b54df48868b2f2ae6c1a7 100644 (file)
@@ -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;