aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-tu-dwarf-4-5.c
blob: d723d730fa2b1a397553f701f98adab00abc451f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* 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)
  {
  }
}