]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Tue, 18 Jan 2005 21:39:38 +0000 (21:39 +0000)
committerNo Author <no-author@gcc.gnu.org>
Tue, 18 Jan 2005 21:39:38 +0000 (21:39 +0000)
'gcc-3_4-branch'.

From-SVN: r93854

gcc/testsuite/g++.dg/debug/typedef3.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/debug/typedef3.C b/gcc/testsuite/g++.dg/debug/typedef3.C
new file mode 100644 (file)
index 0000000..366c69a
--- /dev/null
@@ -0,0 +1,19 @@
+// PR debug/16261
+// { dg-do compile }
+
+namespace N
+{
+  struct A {};
+  typedef A B;
+}
+
+void foo()
+{
+  struct C
+  {
+    C(N::B) {}
+  };
+
+  N::B b;
+  C c(b);
+}