OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [using9.C] - Blame information for rev 715

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// Origin: stefaandr@hotmail.com
4
 
5
// PR c++/17154: Using declaration in partial class template specialization.
6
 
7
template  struct A { void test_A() {} };
8
template  struct B {};
9
template  struct B <3, T> : public A <3, T> {
10
        using A <3, T>::test_A;
11
        void test_B_spec() { test_A(); }
12
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.