diff options
Diffstat (limited to 'test/SemaObjC/undeclared-selector.m')
-rw-r--r-- | test/SemaObjC/undeclared-selector.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/undeclared-selector.m b/test/SemaObjC/undeclared-selector.m index 758e1d7f5602..af52fde8806e 100644 --- a/test/SemaObjC/undeclared-selector.m +++ b/test/SemaObjC/undeclared-selector.m @@ -18,7 +18,7 @@ typedef struct objc_selector *SEL; + (void) methodD { SEL d = @selector(methodD); /* Ok */ - SEL e = @selector(methodE); // expected-warning {{undeclared selector 'methodE'}} + SEL e = @selector(methodE); } - (void) methodE |