aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/overloadable.m
blob: bd3aff81b97d4d5126c7028011545f1222131bb3 (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(id c) { }

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