Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -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 | } |