1 // RUN: %clang_analyze_cc1 -I %S/Inputs -analyzer-checker=core,unix -verify %s
2 // expected-no-diagnostics
4 #include "include/sys/queue.h"
6 typedef __typeof(sizeof(int)) size_t;
9 int radar12491259(void) {
12 FREE_POINTER(p
); // no-warning: we are suppressing errors coming from sys/queue macros.
16 #define MYMACRO(p) FREE_POINTER(p)
18 int radar12491259_inside_macro(void) {
21 MYMACRO(p
); // no-warning: we are suppressing errors coming from sys/queue macros.