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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [anon1.C] - Blame information for rev 308

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

Line No. Rev Author Line
1 301 jeremybenn
struct x {
2
    int foo () {}
3
};
4
 
5
template 
6
struct vector {
7
    T& bar () {}
8
};
9
 
10
template 
11
struct y {
12
    typedef struct {
13
        x t;
14
    } s;
15
 
16
    vector array;
17
 
18
    int foo ()
19
      { return array.bar().t.foo(); }
20
};
21
int i = y().foo ();

powered by: WebSVN 2.1.0

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