PR c++/82069 - ICE with lambda in template
[official-gcc.git] / gcc / testsuite / gcc.dg / pr28162.c
blob8bd28ad24ae03f1c636166f52f68484d8a7eaa7e
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
4 void Lag_max_wght(float corr[], long wght_flg)
6 float t0, max;
7 const float *ww;
8 long i;
9 if ( wght_flg > 0 ) {
10 for ( i = 143; i >= 20; i-- ) {
11 t0 = corr[ - i] * *ww--;
12 if ( t0 >= max )
13 max = t0;