blob: 46d63225bab0cfef093a3ad5b702f289785867ff (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Bug: g++ dies instead of flagging this invalid.
// Build don't link:
inline float max(float x, float y) { return (x>y)?x:y; }
float b(float x, float y, float z)
{
float f = (y<x)?x:(max<y)?z:y; // ERROR -
return f;
}
|