freebsd-nq/test/CodeGenObjC/overloadable.m
2010-01-01 10:34:51 +00:00

11 lines
243 B
Objective-C

// 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) { }
// RUN: grep _Z1fP1C %t | count 1
void __attribute__((overloadable)) f(C *c) { }