// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
// C++0x [class.nest] p3:
// If class X is defined in a namespace scope, a nested class Y may be
// declared in class X and later defined in the definition of class X or be
// later defined in a namespace scope enclosing the definition of class X.
// Don't insert out-of-line inner class definitions into the namespace scope.