* g++.dg/debug/typedef3.C: New test.

From-SVN: r93852
This commit is contained in:
Eric Botcazou 2005-01-18 22:33:21 +01:00 committed by Eric Botcazou
parent 7836a61fab
commit 500a9f27d1
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-01-18 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/debug/typedef3.C: New test.
2005-01-18 Andrew Pinski <pinskia@physics.uc.edu>
PR c/19472

View File

@ -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);
}