int
foo(void) {
if(1) x += 1;
}
void bar(void)
{
testing("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
}
long
bad_spacing()
{
return 2;
foo:
;
}
int
non_k_and_r(void)
{
if (foo)
{
return 1;;
}
else
{
return 2;
}
}
#if 1
#else#endif
foo{
}
void
unexpected_space(void)
{
foobar (77);
}
void
bad_function_calls(long)
{
assert(1);
memcmp("a","b",1);
strcat(foo,x);
strcpy(foo,y);
sprintf(foo,"x");
malloc(7);
free(p);
realloc(p);
strdup(s);
strndup(s,10);
calloc(a,b);
}