#include <stdio.h> struct exec_before_main{ exec_before_main(){ printf("before main.\n"); } }; static exec_before_main t; int main() { printf("start main.\n"); return 0; }