#include <stdio.h>
struct {
int debug;
} config;
config.debug=1;
int main() {
printf("%d",config.debug);
return 0;
}
ain.c:6:1: error: unknown type name 'config'
config.debug=1;
^
main.c:6:7: error: expected identifier or '('
config.debug=1;
^
2 errors generated.
struct {
int debug;
} config = {1};