2009-03-08 09:43:34 +08:00
|
|
|
// rdar://6657613
|
2009-04-19 04:23:29 +08:00
|
|
|
// RUN: clang-cc -emit-llvm %s -o %t &&
|
2009-03-08 06:03:21 +08:00
|
|
|
|
|
|
|
@class C;
|
|
|
|
|
|
|
|
// RUN: grep _Z1fP11objc_object %t | count 1 &&
|
|
|
|
void __attribute__((overloadable)) f(C *c) { }
|
|
|
|
|
2009-03-08 07:39:35 +08:00
|
|
|
// RUN: grep _Z1fP1C %t | count 1
|
2009-03-08 06:03:21 +08:00
|
|
|
void __attribute__((overloadable)) f(id c) { }
|