html-diags-multifile.c revision a6cd5cd98b45298ed6a13ff14551a43d1a210a32
1// RUN: mkdir -p %t.dir
2// RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t.dir
3// RUN: ls %t.dir | grep report | count 0
4// RUN: rm -fR %t.dir
5
6// This tests that we do not currently emit HTML diagnostics for reports that
7// cross file boundaries.
8
9#include "html-diags-multifile.h"
10
11#define CALL_HAS_BUG(q) has_bug(q)
12
13void test_call_macro() {
14  CALL_HAS_BUG(0);
15}
16
17