repo.or.cz
/
unleashed.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
10063 basic support for smatch
[unleashed.git]
/
usr
/
src
/
tools
/
smatch
/
src
/
validation
/
backend
/
struct.c
blob
083b05c3b869cd2b9353eafe201326955fee37e3
1
struct
ctype
{
2
int
type
;
3
};
4
5
struct
symbol
{
6
void
*
p
;
7
const char
*
name
;
8
struct
ctype ctype
;
9
struct
symbol
*
next_id
;
10
};
11
12
struct
unnamed
{
13
struct
{
int
x
,
y
; };
14
};
15
16
static struct
symbol sym
;
17
static struct
symbol
*
sym_p
;
18
static struct
symbol
*
sym_q
= &
sym
;
19
20
static struct
unnamed un
;
21
22
/*
23
* check-name: Struct code generation
24
* check-command: sparsec -c $file -o tmp.o
25
*/