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
generisize.pl: remove u16max and friends
[smatch.git]
/
validation
/
bad-assignment.c
blob
71938db7c4f53adf6a61be361142f52bf3cf5e99
1
static int
foo
(
int
a
)
2
{
3
a
|=
\
1
;
4
5
return
a
;
6
}
7
/*
8
* check-name: bad assignment
9
*
10
* check-error-start
11
bad-assignment.c:3:13: error: Expected ; at end of statement
12
bad-assignment.c:3:13: error: got \
13
* check-error-end
14
*/