Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenObjC/overloadable.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +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) { } |