aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/overloadable.m
blob: 1001e317f37954cf9d14f1a8aad734efb3253813 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s

@class C;

// CHECK: _Z1fP11objc_object
// CHECK-NOT: _Z1fP11objc_object
void __attribute__((overloadable)) f(id c) { }

// CHECK: _Z1fP1C
// CHECK-NOT: _Z1fP1C
void __attribute__((overloadable)) f(C *c) { }