// RUN: %clang_cc1 %s -fsyntax-only -verify
-// rdar: // 8632525
+// rdar://8632525
extern id objc_msgSend(id self, SEL op, ...);
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// rdar:// 8191774
+// rdar://8191774
@protocol SomeProtocol
@end
// RUN: %clang_cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
-// rdar : // 8225011
+// rdar://8225011
int glob; // expected-note {{global variable declared here}}
@implementation I
- (int) Meth { return glob; } // expected-warning {{when default property synthesis is on, 'glob' lookup will access}}
@synthesize glob;
-// rdar: // 8248681
+// rdar://8248681
- (int) Meth1: (int) p {
extern int le;
int l = 1;
@implementation SubClass @end
-// rdar: // 7920807
+// rdar://7920807
@interface C @end
@interface C (Category)
@property int p; // expected-warning {{property 'p' requires method 'p' to be defined }} \
// RUN: %clang_cc1 -fsyntax-only -verify %s
// RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s
-// rdar: // 8308053
+// rdar://8308053
@interface I {
__attribute__((iboutletcollection(I))) id ivar1;
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// rdar:// 6812436
+// rdar://6812436
@interface A @end
- (void) foo11 : (int)x, ... __attribute__ ((__sentinel__(1,1,3))); // expected-error {{attribute requires 0, 1 or 2 argument(s)}}
- (void) foo12 : (int)x, ... ATTR; // expected-note {{method has been explicitly marked sentinel here}}
-// rdar:// 7975788
+// rdar://7975788
- (id) foo13 : (id)firstObj, ... __attribute__((sentinel(0,1)));
- (id) foo14 : (id)firstObj : (Class)secondObj, ... __attribute__((sentinel(0,1)));
- (id) foo15 : (id*)firstObj, ... __attribute__((sentinel(0,1)));
[p foo12:1]; // expected-warning {{not enough variable arguments in 'foo12:' declaration to fit a sentinel}}
- // rdar:// 7975788
+ // rdar://7975788
[ p foo13 : NULL];
[ p foo14 : 0 : NULL];
[ p foo16 : NULL];
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// rdar: // 7766184
+// rdar://7766184
@interface Foo @end
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// rdar: //8528170
+// rdar://8528170
@interface NSObject @end
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// rdar: // 7884086
+// rdar://7884086
@interface NSObject @end
}
@end
-// rdar: // 7823675
+// rdar://7823675
int f0(I *a) { return a->IP; } // expected-error {{instance variable 'IP' is protected}}
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// rdar 7634850
+// rdar://7634850
@interface Foo
- (void)foo:(Class)class; // expected-note{{passing argument to parameter 'class' here}}