From 5382c3cc9b24f59a050b4ef862cab392fa33ed30 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Sat, 2 Feb 2019 16:05:12 +0100 Subject: Test for NULL in variable argument lists Sometimes a vararg function receives a NULL-terminated list of pointers. This can fail if sizeof(NULL) < sizeof(void *), as this test illustrates. --- test/regression/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/regression/Makefile') diff --git a/test/regression/Makefile b/test/regression/Makefile index 191a2285..5d40e2c9 100644 --- a/test/regression/Makefile +++ b/test/regression/Makefile @@ -23,7 +23,7 @@ TESTS=int32 int64 floats floats-basics \ TESTS_COMP=attribs1 bitfields1 bitfields2 bitfields3 bitfields4 \ bitfields5 bitfields6 bitfields7 bitfields8 \ builtins-$(ARCH) packedstruct1 packedstruct2 alignas \ - varargs1 varargs2 sections alias + varargs1 varargs2 varargs3 sections alias # Can run, both in compiled mode and in interpreter mode, # but produce processor-dependent results, so no reference output in Results -- cgit