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