[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Analysis / html-diags-multifile.c
blobace217a4db9808e570002e366ff5ad60a8cb0248
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
6 // This tests that we emit HTML diagnostics for reports that cross file boundaries.
8 #include "html-diags-multifile.h"
10 #define CALL_HAS_BUG(q) has_bug(q)
12 void test_call_macro(void) {
13 CALL_HAS_BUG(0);