blob: 22fc891da2b83ecafe0a9e96c51892860b4c69b1 [file] [log] [blame]
Anders Carlssona40c5e42009-03-07 22:03:21 +00001// RUN: clang -emit-llvm %s -o %t &&
2
3@class C;
4
5// RUN: grep _Z1fP11objc_object %t | count 1 &&
6void __attribute__((overloadable)) f(C *c) { }
7
Chris Lattner65f91bc2009-03-07 23:39:35 +00008// RUN: grep _Z1fP1C %t | count 1
Anders Carlssona40c5e42009-03-07 22:03:21 +00009void __attribute__((overloadable)) f(id c) { }