Chris Lattner | 8a9e420 | 2009-03-08 01:43:34 +0000 | [diff] [blame] | 1 | // rdar://6657613 |
Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -emit-llvm %s -o %t |
Anders Carlsson | a40c5e4 | 2009-03-07 22:03:21 +0000 | [diff] [blame] | 3 | |
| 4 | @class C; |
| 5 | |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 6 | // RUN: grep _Z1fP11objc_object %t | count 1 |
Steve Naroff | 14108da | 2009-07-10 23:34:53 +0000 | [diff] [blame] | 7 | void __attribute__((overloadable)) f(id c) { } |
Anders Carlsson | a40c5e4 | 2009-03-07 22:03:21 +0000 | [diff] [blame] | 8 | |
Chris Lattner | 65f91bc | 2009-03-07 23:39:35 +0000 | [diff] [blame] | 9 | // RUN: grep _Z1fP1C %t | count 1 |
Steve Naroff | 14108da | 2009-07-10 23:34:53 +0000 | [diff] [blame] | 10 | void __attribute__((overloadable)) f(C *c) { } |