dw2-tu-dwarf-4-5-2.c revision 1.1.1.1 1 /* This testcase is part of GDB, the GNU debugger.
2
3 Copyright 2024 Free Software Foundation, Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17
18 namespace sp2 {
19 class B {
20 float f;
21 const float f1 = 1;
22 const float f2 = 1;
23 const float f3 = 1;
24 const float f4 = 1;
25 const float f5 = 1;
26 const float f6 = 1;
27 const float f7 = 1;
28 const float f8 = 1;
29 const float f10 = 1;
30 const float f11 = 1;
31 const float f12 = 1;
32 const float f13 = 1;
33 const float f14 = 1;
34 const float f15 = 1;
35 const float f16 = 1;
36 const float f17 = 1;
37 const float f18 = 1;
38 const float f19 = 1;
39 const float f20 = 1;
40 const float f21 = 1;
41 const float f22 = 1;
42 const float f23 = 1;
43 const float f24 = 1;
44 const float f25 = 1;
45 const float f26 = 1;
46 const float f27 = 1;
47 const float f28 = 1;
48 const float f29 = 1;
49 };
50 }
51
52 sp2::B b;
53