summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjCXX/function-pointer-void-star.mm
blob: 8d3d6251734f43cb5810af9ac71a4b8433f8221f (about) (plain)
1
2
3
4
5
6
7
8
9
// 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) { }
}