From e36dc296f50cb2d60d3b27ce62217762b9655313 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 29 Sep 2021 15:03:15 -0700 Subject: eval: Allow subtraction in address constants --- test/initializer-address-subtract.c | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/initializer-address-subtract.c (limited to 'test/initializer-address-subtract.c') diff --git a/test/initializer-address-subtract.c b/test/initializer-address-subtract.c new file mode 100644 index 0000000..f273d33 --- /dev/null +++ b/test/initializer-address-subtract.c @@ -0,0 +1,2 @@ +int a[4]; +int *p = a + 2 - 1; -- cgit v1.2.3