fuhsnn / slimcc

C11 compiler with GNU / C23 extensions for x86-64 Linux, able to build Python and PostgreSQL
MIT License
24 stars 3 forks source link

_Alignof(VLA type) should report alignment of its element #36

Closed fuhsnn closed 10 months ago

fuhsnn commented 10 months ago
#include <stdio.h>
int main(int argc, char** argv) {
  printf("%lu\n",_Alignof (char [argc])); // expect 1, got 8
}