2017-04-03 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/20_util/reference_wrapper/invoke.cc: Uncomment tests
+ that no longer fail.
+
* include/bits/ios_base.h: Correct comment.
* testsuite/util/testsuite_hooks.h: Likewise.
int (::X::* p_foo_c)(float) const = &::X::foo_c;
int (::X::* p_foo_v)(float) volatile = &::X::foo_v;
int (::X::* p_foo_cv)(float) const volatile = &::X::foo_cv;
- int (::X::* p_foo_varargs)(float, ...) __attribute__((unused))
- = &::X::foo_varargs;
+ int (::X::* p_foo_varargs)(float, ...) = &::X::foo_varargs;
int ::X::* p_bar = &::X::bar;
const float pi = 3.14;
VERIFY(ref(p_foo_v)(xp, pi) == 3);
VERIFY(ref(p_foo_cv)(x, pi) == 3);
VERIFY(ref(p_foo_cv)(xp, pi) == 3);
- // VERIFY(ref(p_foo_varargs)(x, pi) == 3);
- // VERIFY(ref(p_foo_varargs)(xp, pi, 1, 1) == 3);
- // VERIFY(ref(p_foo_varargs)(x, pi, 1, 1) == 3);
- // VERIFY(ref(p_foo_varargs)(xp, pi) == 3);
+ VERIFY(ref(p_foo_varargs)(x, pi) == 3);
+ VERIFY(ref(p_foo_varargs)(xp, pi, 1, 1) == 3);
+ VERIFY(ref(p_foo_varargs)(x, pi, 1, 1) == 3);
+ VERIFY(ref(p_foo_varargs)(xp, pi) == 3);
// Member data pointers
VERIFY(ref(p_bar)(x) == 17);