blob: 9ccb5a45e1c466206875c40682aa76aa93a5ea63 [file] [log] [blame]
// RUN: test.sh -p -t %t %s
#include <limits.h>
#include <unistd.h>
#include <stdlib.h>
// Ensure that a correct use of realpath() is not flagged as an error.
int main()
{
char buffer[PATH_MAX];
realpath ("/etc/passwd", buffer);
return 0;
}