mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Add a regression test for PR symtab/32225. Tested on x86_64-linux. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32225
59 lines
1.5 KiB
C
59 lines
1.5 KiB
C
/* This testcase is part of GDB, the GNU debugger.
|
|
|
|
Copyright 2024 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
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
namespace sp1 {
|
|
class A {
|
|
int i;
|
|
const int f1 = 1;
|
|
const int f2 = 1;
|
|
const int f3 = 1;
|
|
const int f4 = 1;
|
|
const int f5 = 1;
|
|
const int f6 = 1;
|
|
const int f7 = 1;
|
|
const int f8 = 1;
|
|
const int f10 = 1;
|
|
const int f11 = 1;
|
|
const int f12 = 1;
|
|
const int f13 = 1;
|
|
const int f14 = 1;
|
|
const int f15 = 1;
|
|
const int f16 = 1;
|
|
const int f17 = 1;
|
|
const int f18 = 1;
|
|
const int f19 = 1;
|
|
const int f20 = 1;
|
|
const int f21 = 1;
|
|
const int f22 = 1;
|
|
const int f23 = 1;
|
|
const int f24 = 1;
|
|
const int f25 = 1;
|
|
const int f26 = 1;
|
|
const int f27 = 1;
|
|
const int f28 = 1;
|
|
const int f29 = 1;
|
|
};
|
|
}
|
|
|
|
sp1::A a;
|
|
|
|
extern "C" {
|
|
void _start (void)
|
|
{
|
|
}
|
|
}
|