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
extra: expressions are equivalent even if they are unknown
[smatch.git]
/
validation
/
bad-typeof.c
blob
90c3e424c4940b6833871de11c4642989d17c6ef
1
static int
fun
(
void
)
2
{
3
typeof
()
a
;
4
int
b
;
5
6
a
=
b
;
7
}
8
/*
9
* check-name: Bad typeof syntax segfault
10
*
11
* check-error-start
12
bad-typeof.c:3:16: error: expected expression after the '(' token
13
* check-error-end
14
*/