2012-03-02 09:27:31 +08:00
|
|
|
// RUN: mkdir -p %t.dir
|
2013-11-05 20:45:37 +08:00
|
|
|
// RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t.dir %s
|
2013-07-04 23:22:16 +08:00
|
|
|
// RUN: ls %t.dir | not grep report
|
2012-03-02 09:27:31 +08:00
|
|
|
// RUN: rm -fR %t.dir
|
|
|
|
|
|
|
|
// This tests that we do not currently emit HTML diagnostics for reports that
|
|
|
|
// cross file boundaries.
|
|
|
|
|
|
|
|
#include "html-diags-multifile.h"
|
|
|
|
|
|
|
|
#define CALL_HAS_BUG(q) has_bug(q)
|
|
|
|
|
|
|
|
void test_call_macro() {
|
|
|
|
CALL_HAS_BUG(0);
|
|
|
|
}
|
|
|
|
|