]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add testing cases for flexible array members in unions and alone in structures.
authorQing Zhao <qing.zhao@oracle.com>
Mon, 6 May 2024 16:27:09 +0000 (16:27 +0000)
committerQing Zhao <qing.zhao@oracle.com>
Mon, 6 May 2024 18:34:33 +0000 (18:34 +0000)
commit93f6a47583f3fa8a1b66856ecb19ec28f26b2ba4
treefd8f0bf1df8a7ac9a5949aadbea4cddf7f8120f1
parentf27fc59d9f7c735d200fda647a487850144b10eb
Add testing cases for flexible array members in unions and alone in structures.

PR c/53548

gcc/testsuite/ChangeLog:

PR c/53548
* c-c++-common/fam-in-union-alone-in-struct-1.c: New testcase.
* c-c++-common/fam-in-union-alone-in-struct-2.c: New testcase.
* c-c++-common/fam-in-union-alone-in-struct-3.c: New testcase.
gcc/testsuite/c-c++-common/fam-in-union-alone-in-struct-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/fam-in-union-alone-in-struct-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/fam-in-union-alone-in-struct-3.c [new file with mode: 0644]