blob: a8745d6d5ad359e893e930f1305c11c0dfc2e28c [file] [log] [blame]
Galina Kistanovaa6faf8e2011-06-04 04:38:16 +00001// REQUIRES: x86-registered-target
Douglas Katzman3459ce22015-10-08 04:24:12 +00002// RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fblocks -debug-info-kind=limited -S %s -o -
Chris Lattner83b0dd12010-01-25 03:34:56 +00003
4// rdar://7556129
5@implementation test
6- (void)wait {
7 ^{};
8}
9@end
10
Chris Lattnerfe28ef62010-01-25 03:37:52 +000011// 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 Lattner1df52e7d2010-01-25 03:38:26 +000026
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