Sign in
llvm
/
llvm-project
/
bf317f66989cac26e17b4cd16ab1c7bdfe73dbe0
/
.
/
clang
/
test
/
SemaObjCXX
/
function-pointer-void-star.mm
blob: 7c8321538d6213eb519b52feed820b3f75e788b6 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
extern
"C"
id
(*
_dealloc
)(
id
)
;
void
foo
()
{
extern
void
*
_original_dealloc
;
if
(
_dealloc
==
_original_dealloc
)
{
}
if
(
_dealloc
!=
_original_dealloc
)
{
}
}