(semantic-analyze-scoped-types-default): If we cannot find a type in
the typecache, also look into the the types we already found. This is
necessary since in C++, a 'using namespace' can be dependend on a
previous one.
* testusing.cpp: Add test for the above.
; //#17# ( ) Nothing here since this is an undefined class
}
+
+// Using statements can depend on previous ones...
+
+void acc_using()
+{
+ using namespace outer;
+ // This is effectively like 'using namespace outer::inner'
+ using namespace inner;
+
+ StructNested sn;
+ sn.//-18-
+ ; //#18# ( "one" "two" )
+}