// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"id=void*" -D"__declspec(X)=" %t-rw.cpp
// radar 7589414
@protocol NSPortDelegate;
// radar 7607413
@protocol Proto1, Proto2;
unsigned char ;
id ;
void
// rdar://8472487
@class NSRunLoop;
// rdar://8475819
@protocol some_protocol;
void