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