summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/overloadable.m
blob: 972dc4ed589523fb425ce51132f2accb30bd535d (plain)
1
2
3
4
5
6
7
8
9
10
// rdar://6657613
// RUN: clang-cc -emit-llvm %s -o %t &&

@class C;

// RUN: grep _Z1fP11objc_object %t | count 1 && 
void __attribute__((overloadable)) f(C *c) { }

// RUN: grep _Z1fP1C %t | count 1
void __attribute__((overloadable)) f(id c) { }
OpenPOWER on IntegriCloud