OSDN Git Service

PR c++/28878
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / using5.C
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   
13   Derived() { i; }
14   
15   int get_i() { return i.f(); }
16   
17 };