/* This testcase is part of GDB, the GNU debugger.
- Copyright 1998-2019 Free Software Foundation, Inc.
+ Copyright 1998-2023 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
return this->Left::x + 2000;
}
+struct Container
+{
+ PMI member;
+};
+
int
func (int x)
{
null_pmi = NULL;
null_pmf = NULL;
+ Container contain;
+ contain.member = &A::j;
+
pmi = NULL; /* Breakpoint 1 here. */
(diamond.*diamond_pfunc_ptr) (20);
k += b.s;
+ return 0;
}