xref: /freebsd/contrib/netbsd-tests/lib/csu/h_initfini1.cxx (revision 3e11bd9e2a2b1cbd4283c87c93e3cc75e3f2dacb)
1 #include <unistd.h>
2 
3 int
4 main(void)
5 {
6 	static const char msg[] = "main executed\n";
7 	write(STDOUT_FILENO, msg, sizeof(msg) - 1);
8 	return 0;
9 }
10