(c++-mode:semantic-ctxt-scoped-types): In the case for using
statements outside of function scope, append them in the correct order
instead of using 'cons'. This is important since using statements may
depend on previous ones.
* tests/cedet/semantic/test/manual/cedet/testusing.cpp: Add test for
the above.
sn.//-18-
; //#18# ( "one" "two" )
}
+
+// Check the same outside of function scope
+
+using namespace outer;
+using namespace inner;
+
+void acc_using2()
+{
+ StructNested sn;
+ sn.//-19-
+ ; //#19# ( "one" "two" )
+}