Files
clang-p2996/clang/test/CodeGenObjC/overloadable.m
Daniel Dunbar f45dbd8c7b Test case would allow clang to fail.
llvm-svn: 69470
2009-04-18 20:23:29 +00:00

11 lines
248 B
Objective-C

// rdar://6657613
// RUN: clang-cc -emit-llvm %s -o %t &&
@class C;
// RUN: grep _Z1fP11objc_object %t | count 1 &&
void __attribute__((overloadable)) f(C *c) { }
// RUN: grep _Z1fP1C %t | count 1
void __attribute__((overloadable)) f(id c) { }