blob: bd3aff81b97d4d5126c7028011545f1222131bb3 [file] [log] [blame]
Chris Lattner8a9e4202009-03-08 01:43:34 +00001// rdar://6657613
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00002// RUN: clang-cc -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) { }