summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/func-ptr-cast-decl.c
blob: e6307964294adfe21305459c82080081b5392ccd (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm-only %s -verify
// PR5882

int q_sk_num(void *a);
typedef int (*fptr)(double);
void a() { ((fptr)q_sk_num)(0); }