diff --git a/userspace/tests/test-shared/main.cpp b/userspace/tests/test-shared/main.cpp index 6120a327..255ebf42 100644 --- a/userspace/tests/test-shared/main.cpp +++ b/userspace/tests/test-shared/main.cpp @@ -1,6 +1,11 @@ +#include #include int main() { - printf("printf works!\n"); + printf("printf works\n"); + fprintf(stdout, "fprintf(stdout) works!\n"); + + errno = ENOTSUP; + perror(nullptr); }