diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-10-19 01:11:16 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-10-19 01:11:16 +0000 |
commit | 5e937019f688f69278ff8d68ea51056dc20b1f97 (patch) | |
tree | 10f454e2a9546fbbbfbac4eb37316f0b0f4fad0c /test/Coverage/html-diagnostics.c | |
parent | 8ec904c151abf7ed0dc911258574a904ed97ff15 (diff) |
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
Diffstat (limited to 'test/Coverage/html-diagnostics.c')
-rw-r--r-- | test/Coverage/html-diagnostics.c | 5 |
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; |