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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr43611.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// { dg-options "-fkeep-inline-functions" }
3
 
4
template < typename >
5
struct A {
6
  void init (int);
7
  A ()
8
  {
9
    this->init (0);
10
  }
11
};
12
 
13
template < typename >
14
struct B : A < int > {
15
  A < int > a;
16
  B () {}
17
};
18
 
19
extern template struct A < int >;
20
extern template struct B < int >;
21
 
22
B < int > b;

powered by: WebSVN 2.1.0

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