blob: 7f172b19535522cbb205b777bd85204ce878a975 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
Steve Naroff529a4ad2007-11-27 17:58:44 +00002
3#include <stddef.h>
4
5typedef void (*hookfunc)(void *arg);
6hookfunc hook;
7
8void clear_hook() {
9 hook = NULL;
10}