llvm-project/clang/test/SemaObjCXX/function-pointer-void-star.mm

10 lines
227 B
Plaintext

// RUN: %clang_cc1 -fsyntax-only -verify %s
extern "C" id (*_dealloc)(id) ;
void foo() {
extern void *_original_dealloc;
if (_dealloc == _original_dealloc) { }
if (_dealloc != _original_dealloc) { }
}