2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2007-11-28 01:58:44 +08:00
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
typedef void (*hookfunc)(void *arg);
|
|
|
|
hookfunc hook;
|
|
|
|
|
|
|
|
void clear_hook() {
|
|
|
|
hook = NULL;
|
|
|
|
}
|