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
Move test-suite output files to validation/.gitignore
[smatch.git]
/
validation
/
bad-assignment.c
blob
ec157f0c2f2c43edf9b9d8a62314611c57e3d8b4
1
static int
foo
(
int
a
)
2
{
3
a
|=
\
1
;
4
5
return
a
;
6
}
7
/*
8
* check-name: bad assignment
9
*
10
* check-command: sparse $file
11
* check-exit-value: 1
12
*
13
* check-output-start
14
bad-assignment.c:3:6: error: Expected ; at end of statement
15
bad-assignment.c:3:6: error: got \
16
* check-output-end
17
*
18
* check-known-to-fail
19
*/