blob: e3a0408863e66522de3544266f9020acea4cf7c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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;
}
|