Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / using9.C
blobac5194509c81d30e128ef84cb25952013276bc06
1 // { dg-do compile }
3 // Origin: stefaandr@hotmail.com
5 // PR c++/17154: Using declaration in partial class template specialization.
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(); }