Mercurial > emacs
annotate test/cedet/tests/testspp.c @ 111654:1ce970bc77c0
ChangeLog fixes prompted by M-x authors.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 20 Nov 2010 14:25:56 -0800 |
parents | 89eccb374dec |
children | 376148b31b5e |
rev | line source |
---|---|
107698
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
1 /* testspp.cpp --- Semantic unit test for the C preprocessor |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
2 |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
3 Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
4 |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
5 Author: Eric M. Ludlam <eric@siege-engine.com> |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
6 |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
7 This file is part of GNU Emacs. |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
8 |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
9 GNU Emacs is free software: you can redistribute it and/or modify |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
10 it under the terms of the GNU General Public License as published by |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
11 the Free Software Foundation, either version 3 of the License, or |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
12 (at your option) any later version. |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
13 |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
14 GNU Emacs is distributed in the hope that it will be useful, |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
15 but WITHOUT ANY WARRANTY; without even the implied warranty of |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
17 GNU General Public License for more details. |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
18 |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
19 You should have received a copy of the GNU General Public License |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
20 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
89eccb374dec
Update Semantic test copyrights, delete some test files (Bug#4656).
Chong Yidong <cyd@stupidchicken.com>
parents:
105377
diff
changeset
|
21 */ |
104494 | 22 |
23 int some_fcn (){} | |
24 | |
25 | |
26 #ifndef MOOSE | |
27 int pre_show_moose(){} | |
28 #endif | |
29 | |
30 #ifdef MOOSE | |
31 int pre_dont_show_moose(){} | |
32 #endif | |
33 | |
34 #if !defined(MOOSE) | |
35 int pre_show_moose_if(){} | |
36 #endif | |
37 | |
38 #if defined(MOOSE) | |
39 int pre_dont_show_moose_if(){} | |
40 #endif | |
41 | |
42 #define MOOSE | |
43 | |
44 #if 0 | |
45 int dont_show_function_if_0(){} | |
46 #endif | |
47 | |
48 #if 1 | |
49 int show_function_if_1(){} | |
50 #endif | |
51 | |
52 #ifdef MOOSE | |
53 int moose_function(){} | |
54 #endif | |
55 | |
56 #ifndef MOOSE | |
57 int dont_show_moose(){} | |
58 #endif | |
59 | |
60 #if defined(MOOSE) | |
61 int moose_function_if(){} | |
62 #endif | |
63 | |
64 #if !defined(MOOSE) | |
65 int dont_show_moose_if() {} | |
66 #endif | |
67 | |
68 #undef MOOSE | |
69 | |
70 #ifdef MOOSE | |
71 int no_handy_moose(){} | |
72 #endif | |
73 | |
74 #ifndef MOOSE | |
75 int show_moose_else() {} | |
76 #else | |
77 int no_show_moose_else(){} | |
78 #endif | |
79 | |
80 | |
81 #ifdef MOOSE | |
82 int no_show_moose_else_2() {} | |
83 #else | |
84 int show_moose_else_2() {} | |
85 #endif | |
86 | |
87 #if defined(MOOSE) | |
88 int no_show_moose_elif() {} | |
89 #elif !defined(MOOSE) | |
90 int show_moose_elif() {} | |
91 #else | |
92 int no_show_moose_elif_else() {} | |
93 #endif | |
94 | |
95 #if defined(MOOSE) | |
96 int no_show_moose_if_elif_2() {} | |
97 #elif defined(COW) | |
98 int no_show_moose_elif_2() {} | |
99 #else | |
100 int show_moose_elif_else() {} | |
101 #endif | |
102 | |
105377 | 103 /* arch-tag: 5ea50b2a-1e12-439e-ade4-e68267f49674 |
104 (do not change this comment) */ |