YouCompleteMe/cpp/llvm/tools/clang/test/SemaObjCXX/function-pointer-void-star.mm

10 lines
227 B
Plaintext
Raw Normal View History

// 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) { }
}