blob: 5504356d2e3afd855448ca98916ac421b77d7553 [file] [log] [blame]
Galina Kistanova5a2675d2011-06-04 04:38:16 +00001// REQUIRES: x86-registered-target
John McCalld1e40d52011-10-02 01:16:38 +00002// RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-fragile-abi -fblocks -g -S %s -o -
Chris Lattner165714e2010-01-25 03:34:56 +00003
4// rdar://7556129
5@implementation test
6- (void)wait {
7 ^{};
8}
9@end
10
Chris Lattner9712e0b2010-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 Lattner3db9eb12010-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