comparison clang/test/CodeGenObjC/overloadable.m @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
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) { }