Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
665a8dc95379a936a26e58620c16a175d0226053
/
.
/
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
;
}