repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
check_kernel: look harder for the container_of() macro
[smatch.git]
/
validation
/
backend
/
struct.c
blob
1afaf2dbef4393011280d8c03d38e1548b4667ca
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
static struct
symbol sym
;
13
static struct
symbol
*
sym_p
;
14
static struct
symbol
*
sym_q
= &
sym
;
15
16
/*
17
* check-name: Struct code generation
18
* check-command: ./sparsec -c $file -o tmp.o
19
*/