OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / using9.C
1 // { dg-do compile }
2
3 // Origin: stefaandr@hotmail.com
4
5 // PR c++/17154: Using declaration in partial class template specialization.
6
7 template <int numrows, class T> struct A { void test_A() {} };
8 template <int numrows, class T> struct B {};
9 template <class T> struct B <3, T> : public A <3, T> {
10         using A <3, T>::test_A;
11         void test_B_spec() { test_A(); }
12 };