Files
qt-creator/tests/auto/cplusplus/cxx11/data/inlineNamespace.1.cpp
Roberto Raggi 5fb624b1db Fix semantic of C++ 11 inline namespaces.
Add the declaring `inline' namespace to the `using list' of its
enclosing namespace symbol. This should be enough to ensure
the correct visibility of the symbols declarated in the inlined
namespace.

Change-Id: Id4de74577c498fe439a49709a306ef0deb145988
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-02-03 15:37:17 +01:00

6 lines
43 B
C++

inline namespace zoo {
void foo();
}