* g++.dg/debug/typedef3.C: New test.
From-SVN: r93852
This commit is contained in:
parent
7836a61fab
commit
500a9f27d1
@ -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
|
||||
|
19
gcc/testsuite/g++.dg/debug/typedef3.C
Normal file
19
gcc/testsuite/g++.dg/debug/typedef3.C
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user