blob: 92f9c0eda3165d7c829510c0f82bd62630936a4f [file] [log] [blame]
Chris Lattner165714e2010-01-25 03:34:56 +00001// 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 Lattner9712e0b2010-01-25 03:37:52 +000010// 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 Lattner3db9eb12010-01-25 03:38:26 +000025
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