freebsd-dev/contrib/netbsd-tests/lib/csu/h_initfini1.cxx
Enji Cooper 57718be8fa Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,
minus the vendor Makefiles

Provide directions for how to bootstrap the vendor sources in
FREEBSD-upgrade

MFC after 2 weeks
Discussed with: rpaulo
Sponsored by: EMC / Isilon Storage Division
2014-10-02 23:26:49 +00:00

10 lines
142 B
C++

#include <unistd.h>
int
main(void)
{
static const char msg[] = "main executed\n";
write(STDOUT_FILENO, msg, sizeof(msg) - 1);
return 0;
}