1 // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin10 -fblocks -verify -Wno-objc-root-class %s
2 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -triple x86_64-apple-darwin10 -fblocks -verify -Wno-objc-root-class %s
3 // expected-no-diagnostics
7 @implementation Blocky {
31 @implementation ShadowSelf
33 __typeof(self) newSelf = self;
35 __typeof(self) self = newSelf;