From 7277fe5a2bf8ecb74267c3ddc179aeafd3462407 Mon Sep 17 00:00:00 2001 From: versat Date: Thu, 19 Sep 2019 12:27:21 +0200 Subject: [PATCH] gnu.cfg: Add support for macro __extension__ The macro does nothing except preventing from warnings when compiling with "pedantic" or other options. --- cfg/gnu.cfg | 1 + test/cfg/gnu.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/cfg/gnu.cfg b/cfg/gnu.cfg index 4aeb309d1..97f562b75 100644 --- a/cfg/gnu.cfg +++ b/cfg/gnu.cfg @@ -46,6 +46,7 @@ + diff --git a/test/cfg/gnu.c b/test/cfg/gnu.c index d97f6e459..f4895e16e 100644 --- a/test/cfg/gnu.c +++ b/test/cfg/gnu.c @@ -137,6 +137,9 @@ void valid_code(int argInt1, va_list valist_arg) if (vasprintf(&pStr, "%d %d", valist_arg) != -1) { free(pStr); } + + printf("%d", 0b010); + printf("%d", __extension__ 0b10001000); } void ignoreleak(void)