[analyzer][NFC] Introduce APSIntPtr, a safe wrapper of APSInt (1/4) (#120435)
[llvm-project.git] / clang / test / CodeGen / func-ptr-cast-decl.c
blobf3f77576ac7b8784d3e47a4939c248e22b8425d3
1 // RUN: %clang_cc1 -emit-llvm-only %s -verify
2 // expected-no-diagnostics
3 // PR5882
5 int q_sk_num(void *a);
6 typedef int (*fptr)(double);
7 void a(void) { ((fptr)q_sk_num)(0); }