Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
e09b8c41d0eeb17f8cbe73affb213cb7ff8d0718
/
.
/
test
/
Sema
/
assign-null.c
blob: ac90850eb7ce442363ce27e6741c218cd72eca68 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
#include
<stddef.h>
typedef
void
(*
hookfunc
)(
void
*
arg
);
hookfunc hook
;
void
clear_hook
()
{
hook
=
NULL
;
}