This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: using directives crash
- To: egcs-patches at cygnus dot com
- Subject: Re: using directives crash
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Thu, 4 Jun 1998 08:26:37 +0200
- References: <17135.896834548@lisa.cygnus.com> <199806031732.TAA10109@pandora>
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;
+}