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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [using51.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/51382
2
// { dg-do compile }
3
// { dg-options "-Wno-deprecated" }
4
 
5
template< int Value >
6
struct Base
7
{
8
   enum { b_e = Value };
9
};
10
 
11
template< typename Type >
12
struct Derived : Type
13
{
14
   Type::b_e;
15
   enum { d_e = b_e };
16
};
17
 
18
int v = (int)Derived< Base< 3 > >::d_e;

powered by: WebSVN 2.1.0

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