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;
}