1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2011-2015 Free Software Foundation, Inc.
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.
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.
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/>.
18 Contributed by Red Hat, originally written by Keith Seitz. */
24 void doit1 (void) { } // doit1(void)
25 void doit1 (int a
) { } // doit1(int)
26 void doit1 (char *a
) { } // doit1(char *)
31 one (void) { } // one::one(void)
32 one (int a
) { } // one::one(int)
33 one (char *a
) { } // one::one(char *)
34 static void doit (void) { } // one::doit(void)
39 void doit2 (void) { } // A::doit2(void)
40 void doit2 (int a
) { } // A::doit2(int)
41 void doit2 (char *a
) { } // A::doit2(char *)
46 two (void) { } // A::two::two(void)
47 two (int a
) { } // A::two::two(int)
48 two (char *a
) { } // A::two::two(char *)
49 static void doit (void) { } // A::two::doit(void)
56 void doit3 (void) { } // A::doit3(void)
57 void doit3 (int a
) { } // A::doit3(int)
58 void doit3 (char *a
) { } // A::doit3(char *)
63 three (void) { } // A::three::three(void)
64 three (int a
) { } // A::three::three(int)
65 three (char *a
) { } // A::three::three(char *)
66 static void doit (void) { } // A::three::doit(void)
76 one a
, b (3), c (static_cast<char *> (NULL
));
78 A::two d
, e (3), f (static_cast<char *> (NULL
));
80 A::three g
, h (3), i (static_cast<char *> (NULL
));
84 doit1 (static_cast<char *> (NULL
));
87 A::doit2 (static_cast<char *> (NULL
));
90 A::doit3 (static_cast<char *> (NULL
));
This page took 0.032037 seconds and 5 git commands to generate.