12 lines
239 B
C
12 lines
239 B
C
|
/* Tries to create a file with the null pointer as its name.
|
||
|
The process must be terminated with exit code -1. */
|
||
|
|
||
|
#include "tests/lib.h"
|
||
|
#include "tests/main.h"
|
||
|
|
||
|
void
|
||
|
test_main (void)
|
||
|
{
|
||
|
msg ("create(NULL): %d", create (NULL, 0));
|
||
|
}
|