From a9b06718f0e864eef22396e4395b893fe383c2b4 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 2 May 2020 09:55:28 +0200 Subject: [PATCH] * Add simple test for NAME operator --- tests/test-mcore.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test-mcore.c b/tests/test-mcore.c index c57cdcca..57035152 100644 --- a/tests/test-mcore.c +++ b/tests/test-mcore.c @@ -292,6 +292,9 @@ static void test_oplist(void) #define A3(op) A4(M_GET_OPLIST op) #define A4(op) M_GET_CLEAR op assert (A1); + +#define A5 (NAME(1)) + assert (M_GET_NAME A5); } static void test_cast(void)