From: Eric Ludlam Date: Sun, 12 Apr 2015 01:13:02 +0000 (-0400) Subject: New test files combining macros and EDE X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6813c44c39bd3cfbd8ecfe02c7f69e69a1ad7025;p=emacs.git New test files combining macros and EDE --- 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 00000000000..d51876d0cb7 --- /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 + * + * 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))