llvm-project/clang/test/CodeGenObjC/overloadable.m

11 lines
243 B
Mathematica
Raw Normal View History

2009-03-08 09:43:34 +08:00
// rdar://6657613
// RUN: %clang_cc1 -emit-llvm %s -o %t
@class C;
// RUN: grep _Z1fP11objc_object %t | count 1
void __attribute__((overloadable)) f(id c) { }
2009-03-08 07:39:35 +08:00
// RUN: grep _Z1fP1C %t | count 1
void __attribute__((overloadable)) f(C *c) { }