[RISCV] Simplify usage of SplatPat_simm5_plus1. NFC (#125340)
[llvm-project.git] / clang / test / Analysis / novoidtypecrash.c
blob5af30c20104386dbba65c35d26fc6dc6911428c3
1 // RUN: %clang_analyze_cc1 -Wno-error=return-type -std=c89 -Wno-int-conversion -analyzer-checker=core %s
2 x;
3 y(void **z) { // no-crash
4 *z = x;
5 int *w;
6 y(&w);
7 *w;
11 b(*c) {}
12 e(*c) {
13 void *d = f();
14 b(d);
15 *c = d;
17 void *g() {
18 e(&a);
19 return a;
21 j() {
22 int h;
23 char i = g();
24 if (i)
25 for (; h;)