html-diags-multifile.c revision 77d09441e59d3bced6c3d55505eb3a67a784fe02
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// REQUIRES: shell
6
7// This tests that we do not currently emit HTML diagnostics for reports that
8// cross file boundaries.
9
10#include "html-diags-multifile.h"
11
12#define CALL_HAS_BUG(q) has_bug(q)
13
14void test_call_macro() {
15  CALL_HAS_BUG(0);
16}
17
18