Dominic Chen | 184c624 | 2017-03-03 18:02:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_analyze_cc1 -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file %s -o %t.plist |
George Karpenkov | 5594866 | 2018-09-11 18:45:15 +0000 | [diff] [blame] | 2 | // 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 |
Aleksei Sidorin | e1beaf1 | 2016-09-01 12:25:16 +0000 | [diff] [blame] | 3 | |
| 4 | #include "Inputs/include/plist-diagnostics-include-check-macro.h" |
| 5 | |
| 6 | void foo() { |
| 7 | PlistCheckMacro() |
| 8 | #define PLIST_DEF_MACRO .run(); |
| 9 | #include "Inputs/include/plist-diagnostics-include-check-macro.def" |
| 10 | } |