summaryrefslogtreecommitdiffstats
path: root/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp
blob: dd86129e2fd2f1f9431e6c2e185529c31efbe0ea (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_analyze_cc1 -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file %s -o %t.plist
// RUN: tail -n +11 %t.plist | diff -u -w -I "<string>/" -I "<string>.:" -I "version" - %S/Inputs/expected-plists/plist-diagnostics-include-check.cpp.plist

#include "Inputs/include/plist-diagnostics-include-check-macro.h"

void foo() {
  PlistCheckMacro()
#define PLIST_DEF_MACRO .run();
#include "Inputs/include/plist-diagnostics-include-check-macro.def"
}