2009-03-08 09:43:34 +08:00
|
|
|
// rdar://6657613
|
2014-01-15 03:35:09 +08:00
|
|
|
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
|
2009-03-08 06:03:21 +08:00
|
|
|
|
|
|
|
@class C;
|
|
|
|
|
2014-01-14 03:48:13 +08:00
|
|
|
// CHECK: _Z1fP11objc_object
|
|
|
|
// CHECK-NOT: _Z1fP11objc_object
|
2009-07-11 07:34:53 +08:00
|
|
|
void __attribute__((overloadable)) f(id c) { }
|
2009-03-08 06:03:21 +08:00
|
|
|
|
2014-01-14 03:48:13 +08:00
|
|
|
// CHECK: _Z1fP1C
|
|
|
|
// CHECK-NOT: _Z1fP1C
|
2009-07-11 07:34:53 +08:00
|
|
|
void __attribute__((overloadable)) f(C *c) { }
|