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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // rdar://6657613
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 @class C;
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 // CHECK: _Z1fP11objc_object
anatofuz
parents:
diff changeset
7 // CHECK-NOT: _Z1fP11objc_object
anatofuz
parents:
diff changeset
8 void __attribute__((overloadable)) f(id c) { }
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 // CHECK: _Z1fP1C
anatofuz
parents:
diff changeset
11 // CHECK-NOT: _Z1fP1C
anatofuz
parents:
diff changeset
12 void __attribute__((overloadable)) f(C *c) { }