From b3a51061b1b9c4add078237850649f7c9efb13ab Mon Sep 17 00:00:00 2001 From: rdivacky Date: Thu, 5 Nov 2009 17:18:09 +0000 Subject: Update clang to r86140. --- test/Coverage/html-diagnostics.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/Coverage/html-diagnostics.c') diff --git a/test/Coverage/html-diagnostics.c b/test/Coverage/html-diagnostics.c index e3db166..55376d0 100644 --- a/test/Coverage/html-diagnostics.c +++ b/test/Coverage/html-diagnostics.c @@ -1,5 +1,9 @@ // RUN: rm -rf %t && -// RUN: clang-cc --html-diags=%t -checker-cfref %s +// RUN: clang-cc -analyze -analyzer-output=html -checker-cfref -o %t %s && +// RUN: cat %t/*.html | FileCheck %s + +// CHECK:

Annotated Source Code

+// CHECK: Dereference of null pointer void f0(int x) { int *p = &x; -- cgit v1.1