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