We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c3b0b commit 2e0667dCopy full SHA for 2e0667d
clang/test/Parser/objc-coloncolon.m
@@ -8,6 +8,12 @@ - (instancetype)init:(::A *) foo; // expected-error {{expected a type}}
8
@end
9
10
@implementation A
11
+- (void)performSelector:(SEL)selector {}
12
+- (void)double:(int)firstArg :(int)secondArg colon:(int)thirdArg {}
13
+- (void)test {
14
+ // The `::` below should not trigger an error.
15
+ [self performSelector:@selector(double::colon:)];
16
+}
17
+ (int) getGV { return ::GV; } // expected-error {{expected a type}}
18
- (instancetype)init:(::A *) foo { return self; } // expected-error {{expected a type}}
19
0 commit comments