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
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
Analysis
/
malloc-overflow.cpp
blob
e070217cf7d8e2ef71148fbe43e02d47ab2cdc29
1
// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.security.MallocOverflow -verify %s
2
// expected-no-diagnostics
3
4
class
A
{
5
public
:
6
A
&
operator
<<(
const
A
&
a
);
7
};
8
9
void
f
() {
10
A a
=
A
(),
b
=
A
();
11
a
<<
b
;
12
}