// RUN: %clang_cc1 -triple x86_64-apple-macosx10.13.0 -fobjc-runtime=macosx-10.13.0 -fblocks -fobjc-arc -Wno-strict-prototypes %s -verify
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.13.0 -fobjc-runtime=macosx-10.13.0 -fblocks -fobjc-arc -xobjective-c++ %s -verify
void
void ;
void EXT_RET
EXT_RET ObjCTy *test3; // expected-warning{{'objc_externally_retained' can only be applied to}}
void
void EXT_RET
void EXT_RET
=
^ EXT_RET ;
=
^ ;
void // expected-warning{{'objc_externally_retained' attribute only applies to variables}}
void
= ^ ;
class Test12 ;
void
void ;