1 // Copyright (C) 2006 Free Software Foundation, Inc. 2 // Contributed by Nathan Sidwell 6 Jan 2006 <nathan@codesourcery.com> 3 4 // PR 24824 5 // Origin: wanderer@rsu.ru 6 7 // { dg-options "-feliminate-dwarf2-dups" } 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; 23