Debian Codegraph @

clang/test/Sema/assign-null.c

raw
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
9 void clear_hook(void) {
10 hook = NULL;
11 }