From 42e8b5527423f4704d827c7cf388827e957e26cf Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Mon, 24 Jun 2019 09:49:36 +0200 Subject: [PATCH] add macro test to file --- tests/example1_macro.mod | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/example1_macro.mod b/tests/example1_macro.mod index 0db3221ec..06a0fd918 100644 --- a/tests/example1_macro.mod +++ b/tests/example1_macro.mod @@ -157,3 +157,7 @@ stoch_simul; @#error "String comparison" @#endif +@#define f(x) = x + "C" +@#if "A" + f("B") != "ABC" +@#error "Problem with String concatenation" +@#endif