repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* fi.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr45983_0.C
blob
a2c9ba6092d0e05e60201e58c7ec9dd75c948ba9
1
// PR c++/45983
2
3
template <int N>
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(){}