1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 
4 #include <stddef.h>
5 
6 typedef void (*hookfunc)(void *arg);
7 hookfunc hook;
8 
clear_hook()9 void clear_hook() {
10   hook = NULL;
11 }
12