1 // { dg-do compile } 2 3 // Origin: stefaandr@hotmail.com 4 5 // PR c++/17154: Using declaration in partial class template specialization. 6 test_AA7template <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 }; 13