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