Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
safecode
/
test
/
cstdlib
/
tmpnam-001.c
blob: d59842f6ffc5e662e6abbb7a1e69fcedbc43f6b2 [
file
] [
log
] [
blame
]
// RUN: test.sh -p -t %t %s
#include
<stdio.h>
// Example of the correct usage of tmpnam().
int
main
()
{
char
buf
[
L_tmpnam
];
tmpnam
(
buf
);
tmpnam
(
NULL
);
return
0
;
}