Sign in
android
/
platform
/
external
/
clang
/
69e4826edc1858d9e2cdef508b469af750ec2b09
/
.
/
test
/
Analysis
/
malloc-overflow.cpp
blob: 79d525308363326b42a425e714a0cb882515f49b [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.security.MallocOverflow -verify %s
class
A
{
public
:
A
&
operator
<<(
const
A
&
a
);
};
void
f
()
{
A a
=
A
(),
b
=
A
();
a
<<
b
;
}