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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [pr45983_0.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/45983
2
 
3
template 
4
class T1 {
5
    int m[N];
6
    typedef float scalar_type_t;
7
    typedef scalar_type_t scalar_array_t[1];
8
    const scalar_array_t &decay(void) const;
9
};
10
class T2 {
11
public:
12
    float vals[1];
13
    float get_value(void) const { return vals[0]; }
14
};
15
T2 channel_params;
16
float output_audio(void) {
17
    return channel_params.get_value();
18
}
19
 
20
int main(){}

powered by: WebSVN 2.1.0

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