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