minix/external/bsd/llvm/dist/clang/test/CodeGenObjC/overloadable.m
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

10 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) { }