opnsense-src/test/CodeGenObjC/overloadable.m

11 lines
243 B
Mathematica
Raw Normal View History

2009-06-02 13:58:47 -04:00
// rdar://6657613
2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -emit-llvm %s -o %t
2009-06-02 13:58:47 -04:00
@class C;
2009-11-18 09:59:57 -05:00
// RUN: grep _Z1fP11objc_object %t | count 1
2009-10-14 14:03:49 -04:00
void __attribute__((overloadable)) f(id c) { }
2009-06-02 13:58:47 -04:00
// RUN: grep _Z1fP1C %t | count 1
2009-10-14 14:03:49 -04:00
void __attribute__((overloadable)) f(C *c) { }