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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// Origin: Bill Clarke 
3
// PR c++/11097: using declartion for a converter operator to a nested class
4
//  in a base type
5
 
6
template 
7
struct A
8
{
9
  struct Nested {};
10
  operator Nested*();
11
};
12
 
13
template 
14
struct B : A
15
{
16
  using A::operator typename A::Nested*;
17
};
18
 
19
template struct B;

powered by: WebSVN 2.1.0

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