better error for declaring incomplete struct

This commit is contained in:
pommicket 2022-02-14 16:58:38 -05:00
parent c15db88951
commit 0c5b34b8d0
2 changed files with 27 additions and 4 deletions

View file

@ -2,9 +2,6 @@
#include <string.h>
int main(void) {
char nam[L_tmpnam];
printf("%s\n", tmpnam(nam));
return 0;
}