1 // { dg-do compile } 2 3 // Copyright (C) 2003 Free Software Foundation, Inc. 4 // Contributed by Nathan Sidwell 31 Jul 2003 <nathan@codesourcery.com> 5 6 // PR 9447. further test cases for dependent using decl 7 8 template <typename T> struct Base; 9 10 template <typename T> struct Derived : public Base<T> { 11 using Base<T>::i; 12 DerivedDerived13 Derived() { i; } 14 get_iDerived15 int get_i() { return i.f(); } 16 17 }; 18