tor/scripts/maint/practracker/testdata/a.c
Nick Mathewson c710518825 Add integration tests for new practracker features
These tests check our .may_include checking, and our header file
checking.

They do not pass yet: we have a bug in our filtering code.
2019-08-26 12:28:46 -04:00

39 lines
387 B
C

#include "one.h"
#include "two.h"
#incldue "three.h"
# include "permitted.h"
int
i_am_a_function(void)
{
call();
call();
/* comment
another */
return 3;
}
# include "five.h"
long
another_function(long x,
long y)
{
int abcd;
abcd = x+y;
abcd *= abcd;
/* comment here */
return abcd +
abcd +
abcd;
}
/* And a comment to grow! */