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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [nested1.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
 
3
template 
4
struct X
5
{
6
  T1 a;
7
 
8
  struct Y
9
  {
10
    T2 x;
11
    Y (T2 _x) { x=_x; }
12
  };
13
 
14
};
15
 
16
template 
17
struct X
18
{
19
  T1 a;
20
 
21
  struct Y
22
  {
23
    int x;
24
    Y (int _x) { x=_x; }
25
  };
26
 
27
};
28
 
29
template <>
30
struct X
31
{
32
  int a;
33
 
34
  struct Y
35
  {
36
    int x;
37
    Y (int _x) { x=_x; }
38
  };
39
 
40
};
41
 
42
void f ()
43
{
44
  X t1;
45
  X t2;
46
  X t3;
47
}

powered by: WebSVN 2.1.0

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