2018-10-16 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/20_util/duration/literals/range_neg.cc: Adjust pruned
+ diagnostic to account for quotes around 'constexpr'.
+ * testsuite/23_containers/deque/capacity/max_size.cc: Define static
+ variable.
+ * testsuite/23_containers/vector/capacity/max_size.cc: Likewise.
+
PR libstdc++/87618
* config/abi/pre/gnu.ver: Fix typos in patterns for basic_stringbuf.
* testsuite/27_io/basic_stringbuf/cons/char/default.cc: Disable
auto h = 9223372036854775808h;
// { dg-error "cannot be represented" "" { target *-*-* } 908 }
}
-// { dg-prune-output "in constexpr expansion" } // needed for -O0
+// { dg-prune-output "in .constexpr. expansion" } // needed for -O0
static const char value = 'x';
};
+const char Iter::value;
+
Iter operator+(Iter i, Iter::difference_type n) { return i += n; }
Iter operator+(Iter::difference_type n, Iter i) { return i += n; }
Iter operator-(Iter::difference_type n, Iter i) { return i -= n; }
static const char value = 'x';
};
+const char Iter::value;
+
Iter operator+(Iter i, Iter::difference_type n) { return i += n; }
Iter operator+(Iter::difference_type n, Iter i) { return i += n; }
Iter operator-(Iter::difference_type n, Iter i) { return i -= n; }