Author: chapuni
Date: Mon Oct 18 20:11:16 2010
New Revision: 116782

URL: http://llvm.org/viewvc/llvm-project?rev=116782&view=rev
Log:
test/Coverage/html-diagnostics.c: Do not make hit "CHECK: Dereference of null 
pointer" to the output itself!

Modified:
    cfe/trunk/test/Coverage/html-diagnostics.c

Modified: cfe/trunk/test/Coverage/html-diagnostics.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/html-diagnostics.c?rev=116782&r1=116781&r2=116782&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/html-diagnostics.c (original)
+++ cfe/trunk/test/Coverage/html-diagnostics.c Mon Oct 18 20:11:16 2010
@@ -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;


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to