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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
template < typename = void >
4
struct X { } ;
5
struct Y
6
{
7
  Y () ;
8
} ;
9
template < typename = X < > >
10
struct T
11
{
12
  void f ()
13
    {
14
      f () ;
15
    }
16
} ;
17
struct S
18
{
19
  S ( X < > = X < > ()) ;
20
  ~S ()
21
    {
22
      T < > () . f () ;
23
    }
24
} ;
25
struct Z
26
{
27
  S s ;
28
  Y y ;
29
} a ;
30
 

powered by: WebSVN 2.1.0

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