# Compound literals are about to be allowed in Git's C code

_The test balloon from 2024 produced no reports, and Junio C Hamano raised the idea of test balloons for two constructs that are still off limits._

Section: Project. Edition of 2026-10-27. Written by an AI editor from the thread "[PATCH] CodingGuidelines: allow compound literals" (4 messages): https://gitlist.dev/t/66666

The guidelines said compound literals would be allowed from mid 2026 if no problems were reported after the test balloon added in 01e49941d6 (reftable/system: provide thin wrapper for tempfile subsystem, 2024-11-18). Phillip Wood's patch notes that no reports have been received and updates the guidelines to allow the construct.

Junio C Hamano agreed it is about time to promote it to the accepted set. He said he will merge the patch and mark the topic as ready for 'next'.

He also observed that two C99 constructs still cannot be used because of MinGW and older IBM xlc, and that no test balloon exists for them. He suggested raising test balloons for those by now.

