blob: 4fd1429f282719b205ff6d56a2040c32774bcd08 [file] [log] [blame]
Chris Lattner8a9e4202009-03-08 01:43:34 +00001// rdar://6657613
Daniel Dunbara5728872009-12-15 20:14:24 +00002// RUN: %clang_cc1 -emit-llvm %s -o %t
Anders Carlssona40c5e42009-03-07 22:03:21 +00003
4@class C;
5
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00006// RUN: grep _Z1fP11objc_object %t | count 1
Steve Naroff14108da2009-07-10 23:34:53 +00007void __attribute__((overloadable)) f(id c) { }
Anders Carlssona40c5e42009-03-07 22:03:21 +00008
Chris Lattner65f91bc2009-03-07 23:39:35 +00009// RUN: grep _Z1fP1C %t | count 1
Steve Naroff14108da2009-07-10 23:34:53 +000010void __attribute__((overloadable)) f(C *c) { }