blob: a343c8069fdce3ed92660fcc18ea7759b1e9f1ac [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -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}