3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 22 Jul 2003 <nathan@codesourcery.com>
6 // PR 9447. Using decls in template classes.
19 struct Bar : public Foo<T>, Baz
21 using Foo<T>::i; // { dg-message "previous declaration" }
22 using Baz::i; // { dg-error "redeclaration" }
24 int foo () { return i; }
27 void foo (Bar<int> &bar)