aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/novoidtypecrash.c
blob: c04cfca29b4f117c80b9027044425995056dbbb0 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_analyze_cc1 -analyzer-checker=core %s
a;
b(void **c) { // no-crash
  *c = a;
  int *d;
  b(&d);
  *d;
}