YouCompleteMe/cpp/llvm/tools/clang/test/Sema/assign-null.c

11 lines
156 B
C
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify %s
#include <stddef.h>
typedef void (*hookfunc)(void *arg);
hookfunc hook;
void clear_hook() {
hook = NULL;
}