diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2019-02-02 16:05:12 +0100 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2019-02-04 16:18:43 +0100 |
commit | 5382c3cc9b24f59a050b4ef862cab392fa33ed30 (patch) | |
tree | 4431f7e43a22825920155a3783f581311770d353 /test/regression/Makefile | |
parent | 455c56fac3f0e29777aa2fde2b62b5beffea0260 (diff) | |
download | compcert-5382c3cc9b24f59a050b4ef862cab392fa33ed30.tar.gz compcert-5382c3cc9b24f59a050b4ef862cab392fa33ed30.zip |
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.
Diffstat (limited to 'test/regression/Makefile')
-rw-r--r-- | test/regression/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |