[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / assign-null.c
blob19b091e21bcf381f2a14b487195712af3741a9f1
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 #include <stddef.h>
6 typedef void (*hookfunc)(void *arg);
7 hookfunc hook;
9 void clear_hook(void) {
10 hook = NULL;