]> andersk Git - splint.git/blame - test/decl.c
Modified tests to account for bool being defined in the standard library.
[splint.git] / test / decl.c
CommitLineData
885824d3 1int test(int);
2
3int main()
4{
5 int (*y)(int) = &test;
6 int (**x)(int) = &y;
7 x(10); /* called object is not a function */
8}
768a340a 9
10static /*@unused@*/ void foo1(void)
11{
12 int buf[10];
13 buf[10] = 3;
14}
15
16
17static /*@unused@*/ void foo(void)
18{
19 float *array = NULL;
20 size_t /*@unused@*/ size = sizeof(array[0]);
21}
This page took 0.094831 seconds and 5 git commands to generate.