repo.or.cz
/
splint-patched.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Various minor fixes for compiler/linter (other then splint itself) warnings.
[splint-patched.git]
/
test
/
unnamedsu.c
blob
fe498bd2d800692e032c9f2fe762480f3dd8df35
1
typedef
struct
_su
2
{
3
int
x1
;
4
union
5
{
6
int
u1
;
7
int
u2
;
8
} ;
9
int
x2
;
10
}
su
;
11
12
su wtd
= {
1
,
NULL
,
2
};
13
14
int
f
(
su
*
s
)
15
{
16
return
s
->
u1
+
s
->
x1
;
17
}
18
19