crash12.C   [plain text]


// 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;
}