// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
// C++11 [class.mem]p2:
// A class is considered a completely-defined object type (or
// complete type) at the closing } of the class-specifier. Within
// the class member-specification, the class is regarded as complete
// within function bodies, default arguments,
// exception-specifications, and brace-or-equal-initializers for
// non-static data members (including such things in nested classes).
// Otherwise it is regarded as incomplete within its own class
// member-specification.