diff options
Diffstat (limited to 'contrib/netbsd-tests/lib/csu/h_initfini1.cxx')
-rw-r--r-- | contrib/netbsd-tests/lib/csu/h_initfini1.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/csu/h_initfini1.cxx b/contrib/netbsd-tests/lib/csu/h_initfini1.cxx new file mode 100644 index 0000000..d410f70 --- /dev/null +++ b/contrib/netbsd-tests/lib/csu/h_initfini1.cxx @@ -0,0 +1,9 @@ +#include <unistd.h> + +int +main(void) +{ + static const char msg[] = "main executed\n"; + write(STDOUT_FILENO, msg, sizeof(msg) - 1); + return 0; +} |