From: NAKAMURA Takumi Date: Tue, 19 Oct 2010 01:11:16 +0000 (+0000) Subject: test/Coverage/html-diagnostics.c: Do not make hit "CHECK: Dereference of null pointer... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e937019f688f69278ff8d68ea51056dc20b1f97;p=clang test/Coverage/html-diagnostics.c: Do not make hit "CHECK: Dereference of null pointer" to the output itself! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116782 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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:

Annotated Source Code

-// 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;