1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
4 @interface PodiumWalkerController
5 @property (assign) id PROP;
6 - (void) // expected-error {{expected ';' after method prototype}}
7 @end // expected-error {{expected selector for Objective-C method}}
12 id StopProgressAnimation()
15 PodiumWalkerController *controller;
16 return controller.PROP;
20 @property (assign) id PROP;
21 - (void); // expected-error {{expected selector for Objective-C method}}
29 PodiumWalkerController *controller;
30 return controller.PROP;
34 @property (assign) id PROP;
35 - (void)Meth {} // expected-error {{expected ';' after method prototype}}
39 @property (assign) id PROP;
41 - (void)Meth {} // expected-error {{expected selector for Objective-C method}} \
42 // expected-error {{expected ';' after method prototype}}
50 PodiumWalkerController *controller;
51 return controller.PROP;