xref: /minix3/external/bsd/llvm/dist/clang/test/Analysis/html-diags-multifile.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
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 
test_call_macro()13 void test_call_macro() {
14   CALL_HAS_BUG(0);
15 }
16 
17