xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/overloadable.m (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc// rdar://6657613
2*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
3f4a2713aSLionel Sambuc
4f4a2713aSLionel Sambuc@class C;
5f4a2713aSLionel Sambuc
6*0a6a1f1dSLionel Sambuc// CHECK: _Z1fP11objc_object
7*0a6a1f1dSLionel Sambuc// CHECK-NOT: _Z1fP11objc_object
8f4a2713aSLionel Sambucvoid __attribute__((overloadable)) f(id c) { }
9f4a2713aSLionel Sambuc
10*0a6a1f1dSLionel Sambuc// CHECK: _Z1fP1C
11*0a6a1f1dSLionel Sambuc// CHECK-NOT: _Z1fP1C
12f4a2713aSLionel Sambucvoid __attribute__((overloadable)) f(C *c) { }
13