Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
146254fb4ee74f924a6ef71319e7a29fca35ff10
/
.
/
test
/
Analysis
/
malloc-overflow.cpp
blob: e3a0408863e66522de3544266f9020acea4cf7c2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -analyze -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
;
}