Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fsyntax-only -verify %s |
Steve Naroff | 529a4ad | 2007-11-27 17:58:44 +0000 | [diff] [blame] | 2 | |
3 | #include <stddef.h> | ||||
4 | |||||
5 | typedef void (*hookfunc)(void *arg); | ||||
6 | hookfunc hook; | ||||
7 | |||||
8 | void clear_hook() { | ||||
9 | hook = NULL; | ||||
10 | } |