2 // RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t %s
3 // RUN: find %t -name "*.html" -exec cat "{}" ";" | FileCheck %s
6 // RUN: %clang_cc1 -analyze -analyzer-output=html-single-file -analyzer-checker=core -o %t %s
7 // RUN: find %t -name "*.html" -exec cat "{}" ";" | FileCheck %s
9 // REQUIRES: staticanalyzer
11 // CHECK: <h3>Annotated Source Code</h3>
13 // Make sure it's not generated as a multi-file HTML output
14 // CHECK-NOT: <h4 class=FileName>{{.*}}
16 // Without tweaking expr, the expr would hit to the line below
17 // emitted to the output as comment.
18 // CHECK: {{[D]ereference of null pointer}}