1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
3 @interface PodiumWalkerController
4 @property (assign) id PROP;
5 - (void) // expected-error {{expected ';' after method prototype}}
6 @end // expected-error {{expected selector for Objective-C method}}
11 id StopProgressAnimation()
14 PodiumWalkerController *controller;
15 return controller.PROP;
19 @property (assign) id PROP;
20 - (void); // expected-error {{expected selector for Objective-C method}}
28 PodiumWalkerController *controller;
29 return controller.PROP;
33 @property (assign) id PROP;
34 - (void)Meth {} // expected-error {{expected ';' after method prototype}}
38 @property (assign) id PROP;
40 - (void)Meth {} // expected-error {{expected selector for Objective-C method}} \
41 // expected-error {{expected ';' after method prototype}}
49 PodiumWalkerController *controller;
50 return controller.PROP;