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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/30195
2
// { dg-do run }
3
 
4
template struct B
5
{
6
    void foo(T) {}
7
};
8
 
9
template
10
struct D : B, B
11
{
12
  using B::foo;
13
  using B::foo;
14
  void bar() { foo(3); }
15
};
16
 
17
int main()
18
{
19
  D x;
20
  x.bar();
21
  return 0;
22
}

powered by: WebSVN 2.1.0

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