[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Analysis / pointer-escape-on-conservative-calls.c
blob19d86ce1866f83a42cd26ba0eed3d0946bc537c1
1 // RUN: %clang_cc1 -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PointerEscape=true -analyzer-config debug.AnalysisOrder:PostCall=true %s 2>&1 | FileCheck %s
4 void f(int *);
5 int *getMem(void);
7 int main(void) {
8 f(getMem());
9 return 0;
12 // CHECK: PostCall (f)
13 // CHECK-NEXT: PointerEscape