libstdc++: Fix find_last_set(simd_mask) to ignore padding bits
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / crash12.C
blobc3906a8d1c630f97ccfcd9e2511c64bd8a23232b
1 // { dg-do assemble  }
2 // Bug: g++ dies instead of flagging this invalid.
4 inline float  max(float  x, float  y) { return (x>y)?x:y; }
6 float  b(float  x, float  y, float  z)
8   float f = (y<x)?x:(max<y)?z:y;        // { dg-error "" } 
9   return f;