Fix 23752 - ImportC: can't take address of dereferenced void pointer (#14970)

This commit is contained in:
Dennis 2023-03-10 13:59:12 +01:00 committed by GitHub
parent 23514c6256
commit 2ad82c66d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -190,3 +190,8 @@ const typeof(testTypeofA) testTypeofB = 0;
_Static_assert(sizeof(testTypeofB) == sizeof(short), "17");
/*************************************************/
// https://issues.dlang.org/show_bug.cgi?id=23752
void *c23752 = &*((void*)(0));
/*************************************************/