using directives crash

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Wed Jun 3 23:28:00 GMT 1998


Sorry, I forgot to include the test case for this patch.

Martin

--- /dev/null	Wed Jun  3 16:48:00 1998
+++ g++.ns/using3.C	Wed Jun  3 12:12:02 1998
@@ -0,0 +1,14 @@
+typedef	unsigned int atypedef;
+struct astruct{};
+void afunction();
+void aovlfunction();
+void aovlfunction(int);
+int avariable;
+
+namespace foo {
+  using ::atypedef;
+  using ::astruct;
+  using ::afunction;
+  using ::aovlfunction;
+  using ::avariable;
+}



More information about the Gcc-patches mailing list