html-diags-multifile.c revision 7638cf06ae8312e7f8407354b5aae2eba318fa84
1// RUN: mkdir -p %t.dir
2// RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t.dir %s
3// RUN: ls %t.dir | not grep report
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