Sign in
cobalt
/
cobalt
/
25399f97090f8a86f56525c38486080cb2747250
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Analysis
/
malloc-overflow.cpp
blob: e070217cf7d8e2ef71148fbe43e02d47ab2cdc29 [
file
] [
log
] [
blame
]
// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.security.MallocOverflow -verify %s
// expected-no-diagnostics
class
A
{
public
:
A
&
operator
<<(
const
A
&
a
);
};
void
f
()
{
A a
=
A
(),
b
=
A
();
a
<<
b
;
}