1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
24 A() : state_(++next_) {}
25 int get() const { return state_; }
27 friend bool operator==(const A& x, int y) { return x.state_ == y; }
38 std::unique_ptr<A[]> p(new A[3]);