Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/lto/pr45983_0.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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(){} |