Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
796dbfb6c43336f58c026137c438e53eadc381f7
/
.
/
test
/
Analysis
/
malloc-overflow.cpp
blob: c1ac6be4b029fc087b35c1317d8b810ad64de7d8 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -analyze -analyzer-checker=experimental.security.MallocOverflow -verify %s
class
A
{
public
:
A
&
operator
<<(
const
A
&
a
);
};
void
f
()
{
A a
=
A
(),
b
=
A
();
a
<<
b
;
}