blob: 28364dec9aaec6d648e7cd1d564c01f776f2e374 [file] [log] [blame]
Eli Friedmanefa42f72009-12-26 03:35:45 +00001// RUN: %clang_cc1 -emit-llvm-only %s -verify
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00002// expected-no-diagnostics
Eli Friedmanefa42f72009-12-26 03:35:45 +00003// PR5882
4
5int q_sk_num(void *a);
6typedef int (*fptr)(double);
7void a() { ((fptr)q_sk_num)(0); }