From 87eef11ec17713c0eb6f5f17c419216efde79fa8 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Tue, 5 May 2020 14:47:42 -0600 Subject: Fix pointer issue and test --- tests/include/tast2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/include') diff --git a/tests/include/tast2.h b/tests/include/tast2.h index 2ddb58e..c7b85c7 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -20,6 +20,7 @@ extern "C" { #define COERCE 645635634896ull + 35436 #define COERCE2 645635634896 + 35436ul #define BINEXPR ~(-(1u << !-1)) ^ (10 >> 1) +#define POINTEREXPR (int*)0 #define BOOL true #define MATHEXPR (1 + 2/3*20 - 100) #define ANDEXPR (100 & 11000) -- cgit v1.2.3 From d5c15d0d3aebc1eced79faa0c1621351be56f60a Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Tue, 5 May 2020 20:36:02 -0600 Subject: Add multiple pointer support --- tests/include/tast2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/include') diff --git a/tests/include/tast2.h b/tests/include/tast2.h index c7b85c7..0b1fca2 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -21,6 +21,7 @@ extern "C" { #define COERCE2 645635634896 + 35436ul #define BINEXPR ~(-(1u << !-1)) ^ (10 >> 1) #define POINTEREXPR (int*)0 +#define POINTERPOINTERPOINTEREXPR (int***)0 #define BOOL true #define MATHEXPR (1 + 2/3*20 - 100) #define ANDEXPR (100 & 11000) -- cgit v1.2.3