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
function_hooks/unwind: introduce return_implies_exact()
[smatch.git]
/
validation
/
bad-assignment.c
blob
959712beda94329f9bca2b15054b732f8269abf9
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:11: error: expression expected before '\'
12
bad-assignment.c:3:13: error: Expected ; at end of statement
13
bad-assignment.c:3:13: error: got \
14
* check-error-end
15
*/