Which I don't think is standard -- but it's not using VLAs. I wondered if it just has constant expression semantics for const variables.
Weirdly, adding a _Static_assert to test this theory proves it for c99 but not c11 :/
https://godbolt.org/z/q-bb-n c99 with clang https://godbolt.org/z/ad14Ah c11 with clang https://godbolt.org/z/xJSDQa c11 with gcc (which is the only one giving the output I'd expect)