#include #define N 5 extern void f ( int16_t para1, int16_t para2 ); void test ( void ) { int16_t a[ N ], i, *p; /* ----------------- Example code from MISRA C:2012 begin ----------------- */ f ( ( 1, 2 ), 3 ); /* Non-compliant */ for ( i = 0, p = &a[ 0 ]; i < N; ++i, ++p ) /* Non-compliant */ { } /* ------------------ Example code from MISRA C:2012 end ------------------ */ }