cee90d4c4c
assembler routines obsolete. Be more exhaustive by testing dynamically linked, statically linked and dynamically loaded. XXX currently hard-codes /usr/tests due to limitations of bsd.test.mk
10 lines
142 B
C++
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;
|
|
}
|