1// { dg-do assemble } 2// Bug: g++ dies instead of flagging this invalid. 3 4inline float max(float x, float y) { return (x>y)?x:y; } 5 6float b(float x, float y, float z) 7{ 8 float f = (y<x)?x:(max<y)?z:y; // { dg-error "" } 9 return f; 10} 11