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