]> andersk Git - splint.git/blame - test/cast2.c
Fixed manual csvoverwrite.
[splint.git] / test / cast2.c
CommitLineData
885824d3 1typedef /*@abstract@*/ int *abst1;
2typedef /*@abstract@*/ int abst2;
3
4/*@access abst1@*/
5/*@access abst2@*/
6
7abst1 f1 (int *x)
8{
9 return x; /* 1. Function returns reference to parameter x,
10 2. Implicitly temp storage x returned as implicitly only: x */
11}
12
13abst1 f2 (/*@exposed@*/ int *x)
14{
15 return (abst1) x; /* 3. Implicitly dependent storage x returned as implicitly only */
16}
17
18abst2 g1 (int x)
19{
20 return x;
21}
22
23abst2 g2 (int x)
24{
25 return (abst2) x;
26}
This page took 0.062996 seconds and 5 git commands to generate.