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 | 3ad833be0e645f3e0bd5b05f1a912c98e8e07e12 (patch) | |
| tree | 618b9242f8133ad3f9f2365665802f111509e1b7 | |
| parent | 8249dfe6ced136a7143a805ed84af74ab4747010 (diff) | |
| download | bcm5719-llvm-3ad833be0e645f3e0bd5b05f1a912c98e8e07e12.tar.gz bcm5719-llvm-3ad833be0e645f3e0bd5b05f1a912c98e8e07e12.zip  | |
test/Coverage/html-diagnostics.c: Do not make hit "CHECK: Dereference of null pointer" to the output itself!
llvm-svn: 116782
| -rw-r--r-- | clang/test/Coverage/html-diagnostics.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/Coverage/html-diagnostics.c b/clang/test/Coverage/html-diagnostics.c index 81b2cfa588e..be820fb90f2 100644 --- a/clang/test/Coverage/html-diagnostics.c +++ b/clang/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;  | 

