blob: 972dc4ed589523fb425ce51132f2accb30bd535d [file] [log] [blame]
Chris Lattner3a98b7d2009-03-08 01:43:34 +00001// rdar://6657613
Daniel Dunbar86891d62009-04-18 20:23:29 +00002// RUN: clang-cc -emit-llvm %s -o %t &&
Anders Carlssonfae45862009-03-07 22:03:21 +00003
4@class C;
5
6// RUN: grep _Z1fP11objc_object %t | count 1 &&
7void __attribute__((overloadable)) f(C *c) { }
8
Chris Lattner28cda752009-03-07 23:39:35 +00009// RUN: grep _Z1fP1C %t | count 1
Anders Carlssonfae45862009-03-07 22:03:21 +000010void __attribute__((overloadable)) f(id c) { }