This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
c++/50 fixed; new testcase
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 Jan 2003 00:14:58 +0000
- Subject: c++/50 fixed; new testcase
Applied.
Neil.
* g++.dg/parse/parse1.C: New test.
Index: testsuite/g++.dg/parse/parse1.C
===================================================================
RCS file: testsuite/g++.dg/parse/parse1.C
diff -N testsuite/g++.dg/parse/parse1.C
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ testsuite/g++.dg/parse/parse1.C 1 Jan 2003 00:13:11 -0000
@@ -0,0 +1,9 @@
+/* PR c++/50 */
+/* { dg-do compile } */
+
+namespace A {typedef int Z;}
+int main(void)
+{
+ A::Z* z;
+ z->A::Z::~Z();
+}