• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -analyze -analyzer-checker=alpha.security.MallocOverflow -verify %s
2 
3 class A {
4 public:
5   A& operator<<(const A &a);
6 };
7 
f()8 void f() {
9   A a = A(), b = A();
10   a << b;
11 }
12