summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/overloadable.m
blob: 4fd1429f282719b205ff6d56a2040c32774bcd08 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// rdar://6657613
// RUN: %clang_cc1 -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) { }