1 2 3 4 5 6 7 8 9 10 11 12
/* * Rule: FLP34-C * Source: wiki * Status: FAIL - Should trigger FLP34-C violation */ void func(float f_a) { int i_a; /* Undefined if the integral part of f_a cannot be represented. */ i_a = f_a; }