cppcheck/addons/test/misra/misra-ctu-1-test.c

12 lines
267 B
C
Raw Normal View History

2021-07-07 10:58:13 +02:00
// Test with command:
// ./cppcheck --addon=misra --inline-suppr addons/test/misra/misra-ctu-*-test.c
#include "misra-ctu-test.h"
2021-07-07 15:16:53 +02:00
MISRA_2_3_A misra_2_3_a;
// cppcheck-suppress misra-c2012-2.3
2021-07-07 10:58:13 +02:00
// cppcheck-suppress misra-c2012-5.6
typedef int MISRA_5_6_VIOLATION;