Galina Kistanova | 5a2675d | 2011-06-04 04:38:16 +0000 | [diff] [blame] | 1 | // REQUIRES: x86-registered-target |
John McCall | d1e40d5 | 2011-10-02 01:16:38 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-fragile-abi -fblocks -g -S %s -o - |
Chris Lattner | 165714e | 2010-01-25 03:34:56 +0000 | [diff] [blame] | 3 | |
| 4 | // rdar://7556129 |
| 5 | @implementation test |
| 6 | - (void)wait { |
| 7 | ^{}; |
| 8 | } |
| 9 | @end |
| 10 | |
Chris Lattner | 9712e0b | 2010-01-25 03:37:52 +0000 | [diff] [blame] | 11 | // PR4894 |
| 12 | @interface I0 { |
| 13 | I0 *_iv0; |
| 14 | } |
| 15 | @end |
| 16 | @protocol P0 @end |
| 17 | |
| 18 | @interface I1 @end |
| 19 | @implementation I1 |
| 20 | - (I0<P0> *) im0 { |
| 21 | // CHECK: @"\01-[I1 im0]" |
| 22 | // CHECK: llvm.dbg.func.start |
| 23 | return 0; |
| 24 | } |
| 25 | @end |
Chris Lattner | 3db9eb1 | 2010-01-25 03:38:26 +0000 | [diff] [blame] | 26 | |
| 27 | // PR4541 |
| 28 | @class NSString; |
| 29 | @interface NSAttributedString |
| 30 | - (NSString *)string; |
| 31 | @end |
| 32 | @interface NSMutableAttributedString : NSAttributedString |
| 33 | @end |
| 34 | @class NSImage; |
| 35 | @implementation CYObjectsController |
| 36 | + (void)initialize { |
| 37 | } |
| 38 | + (NSAttributedString *)attributedStringWithString:(id)string image:(NSImage *)image { |
| 39 | NSMutableAttributedString *attrStr; |
| 40 | } |
| 41 | @end |