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
8 @implementation Blocky {
34 @implementation ShadowSelf
36 __typeof(self) newSelf = self;
38 __typeof(self) self = newSelf;