Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenObjC/overloadable.m @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // rdar://6657613 |
2 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s | |
3 | |
4 @class C; | |
5 | |
6 // CHECK: _Z1fP11objc_object | |
7 // CHECK-NOT: _Z1fP11objc_object | |
8 void __attribute__((overloadable)) f(id c) { } | |
9 | |
10 // CHECK: _Z1fP1C | |
11 // CHECK-NOT: _Z1fP1C | |
12 void __attribute__((overloadable)) f(C *c) { } |