cppcheck/test/cli/proj-suppress-syntaxError/1.c

11 lines
182 B
C
Raw Normal View History

2019-05-01 11:54:13 +02:00
void validCode(int argInt)
{
// if G_UNLIKELY is not defined this results in a syntax error
if G_UNLIKELY(argInt == 1) {
} else if (G_UNLIKELY(argInt == 2)) {
}
}