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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// Reduced from the testcase for c++/29433
2
 
3
template 
4
struct A: T
5
{
6
  void f(typename T::type);
7
  using T::f;
8
  void g() { f(1); }
9
};
10
 
11
template 
12
struct B: T
13
{ typedef int type; };
14
 
15
struct C
16
{
17
  typedef double type;
18
  void f();
19
};
20
 
21
int main()
22
{
23
  A > > a;
24
  a.g();
25
}

powered by: WebSVN 2.1.0

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