Flexible array member added, zero sized structs removed.

This commit is contained in:
Christoffer Lerno
2021-12-14 18:53:23 +01:00
parent 5ddbf50e83
commit 680b077eb1
30 changed files with 252 additions and 35 deletions

View File

@@ -0,0 +1,5 @@
union Zee
{
int z;
int[*] y; // #error: Flexible array members not allowed in unions.
}

View File

@@ -1,7 +1,5 @@
module test;
struct Empty {}
union Foo {}
union Qu
{
Qu *x;