repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git]
/
clang
/
test
/
Analysis
/
PR7218.c
blob
7b43d8ee0afe6c8ca3fbc6465a080d2d53534378
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
2
char
PR7218
(
char
a
) {
3
char
buf
[
2
];
4
buf
[
0
] =
a
;
5
return
buf
[
1
];
// expected-warning {{Undefined or garbage value returned to caller}}
6
}