1 // { dg-do run { target c++11 } }
5 Pair(const Pair &) = default;
6 Pair(int _a, int _b) : a(_a), b(_b) {}
7 Pair &operator=(const Pair &z) {
14 const int &max(const int &a, const int &b)
19 int foo(Pair x, Pair y)
26 auto f = new Pair[3] {{0, -11}, {0, -8}, {0, 2}};
27 for (int i = 0; i < 1; i++) {
31 if (foo(f[i], f[1]) != 2)