Add some additional comments to this test; NFC
authorAaron Ballman <aaron@aaronballman.com>
Wed, 5 Apr 2023 17:13:42 +0000 (13:13 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 5 Apr 2023 17:15:34 +0000 (13:15 -0400)
commit78d0d59209bf858435bcd19046e94fce0386ace8
treebc4c10d4afd7411da8c41a3c32de829607912736
parent77d667b114bee344d1e0459839afe58f4af53089
Add some additional comments to this test; NFC

It isn't immediately obvious why that code should be accepted given the
wording of C2x 6.7.10p4, so this adds a comment explaining that there
is an existing extension to support zero-sized arrays in C, and that
empty initialization of an unbounded array in C++ deduces the array
extent as zero, so C is exposing the same extension as in C++.
clang/test/C/C2x/n2900_n3011.c