Eli Friedman | efa42f7 | 2009-12-26 03:35:45 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm-only %s -verify |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Eli Friedman | efa42f7 | 2009-12-26 03:35:45 +0000 | [diff] [blame] | 3 | // PR5882 |
4 | |||||
5 | int q_sk_num(void *a); | ||||
6 | typedef int (*fptr)(double); | ||||
7 | void a() { ((fptr)q_sk_num)(0); } |