/usr/share/clang/scan-build-py-4.0/tests/functional/src/emit-one.c is in clang-tools-4.0 1:4.0.1-10~deb9u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #include <assert.h>
int div(int numerator, int denominator)
{
return numerator / denominator;
}
void div_test()
{
int i = 0;
for (i = 0; i < 2; ++i)
assert(div(2 * i, i) == 2);
}
int do_nothing()
{
unsigned int i = 0;
int k = 100;
int j = k + 1;
return j;
}
|