forked from qt-creator/qt-creator
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>
This commit is contained in:
5
tests/auto/cplusplus/cxx11/data/inlineNamespace.1.cpp
Normal file
5
tests/auto/cplusplus/cxx11/data/inlineNamespace.1.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
inline namespace zoo {
|
||||
void foo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user