gcc/testsuite/g++.dg/debug/dwarf2/pr87295.C
raw| 1 | // { dg-additional-options "-fdebug-types-section" } |
| 2 | // { dg-require-effective-target c++11 } |
| 3 | |
| 4 | struct A {}; |
| 5 | namespace N { |
| 6 | struct B { |
| 7 | using C = struct H {}; |
| 8 | using D = A; |
| 9 | }; |
| 10 | } |
| 11 | struct E : N::B { |
| 12 | typedef C C; |
| 13 | }; |
| 14 | namespace N { |
| 15 | struct F { |
| 16 | E::C d; |
| 17 | E::D h; |
| 18 | }; |
| 19 | } |
| 20 | struct G { |
| 21 | N::F i; |
| 22 | } j; |