Files
binutils-gdb/gdb/testsuite/gdb.dwarf2/dw2-tu-dwarf-4-5.c
Tom de Vries 4c5d88facd [gdb/testsuite] Add gdb.dwarf2/dw2-tu-dwarf-4-5.exp
Add a regression test for PR symtab/32225.

Tested on x86_64-linux.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32225
2024-11-27 18:48:43 +01:00

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)
{
}
}