]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/Analysis/html-diags.c
2 // RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %T/dir %s
5 // Currently this test mainly checks that the HTML diagnostics doesn't crash
6 // when handling macros will calls with macros. We should actually validate
7 // the output, but that requires being able to match against a specifically
10 #define DEREF(p) *p = 0xDEADBEEF
12 void has_bug(int *p
) {
16 #define CALL_HAS_BUG(q) has_bug(q)
18 void test_call_macro() {