function-pointer-void-star.mm 254 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 // 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) { } }