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
Fix segfault cause by fucntion without ident.
[smatch.git]
/
validation
/
member_of_typeof.c
blob
db863b084b882fbf6161892b46327d1318c38203
1
static struct
foo
{
int
x
;}
v
;
2
static
typeof
(
v
) *
p
;
3
static void
bar
(
void
)
4
{
5
p
->
x
=
0
;
6
}
7
/*
8
* check-name: Expansion of typeof when dealing with member of struct
9
* check-description: Used to expand SYM_TYPEOF too late
10
*/