emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/merge-cedet-tests 6813c44 014/316: New test files


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests 6813c44 014/316: New test files combining macros and EDE
Date: Sat, 28 Jan 2017 09:09:42 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit 6813c44c39bd3cfbd8ecfe02c7f69e69a1ad7025
Author: Eric Ludlam <address@hidden>
Commit: Edward John Steere <address@hidden>

    New test files combining macros and EDE
---
 .../cedet/cedet/semantic/testwithede/testede.c     |   34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/test/manual/cedet/cedet/semantic/testwithede/testede.c 
b/test/manual/cedet/cedet/semantic/testwithede/testede.c
new file mode 100644
index 0000000..d51876d
--- /dev/null
+++ b/test/manual/cedet/cedet/semantic/testwithede/testede.c
@@ -0,0 +1,34 @@
+/** testede.c --- Macro tests with an EDE project
+ *
+ * Copyright (C) 2015 Eric Ludlam
+ *
+ * Author: Eric Ludlam <address@hidden>
+ *
+ * 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/.
+ */
+
+#define macro_used_as_param B
+
+#define macro_with_param(ARG) int ARG (int b);
+
+
+macro_with_param(A)
+
+macro_with_param(macro_used_as_param)
+
+macro_with_param(EDEPART)
+
+macro_with_param(EDEHEADERVAR)
+
+macro_with_param(EDEHEADERMACRO(E))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]