gcc/testsuite/g++.dg/debug/dwarf2/dwarf2-1.C
raw| 1 | // Copyright (C) 2006 Free Software Foundation, Inc. |
| 2 | // Contributed by Nathan Sidwell 6 Jan 2006 <[email protected]> |
| 3 | |
| 4 | // PR 24824 |
| 5 | // Origin: [email protected] |
| 6 | |
| 7 | // { dg-options "-gdwarf" } |
| 8 | |
| 9 | namespace N |
| 10 | { |
| 11 | struct Base |
| 12 | { |
| 13 | int m; |
| 14 | }; |
| 15 | |
| 16 | struct Derived : Base |
| 17 | { |
| 18 | using Base::m; |
| 19 | }; |
| 20 | } |
| 21 | |
| 22 | N::Derived thing; |