1 // RUN: %llvmgxx %s -S -o /dev/null
10 extern int lstat(const char *, struct stat
*) __asm__("lstat64");
11 extern int lstat64(const char *, struct stat64
*);
13 extern int __lxstat(int, const char *, struct stat
*) __asm__("__lxstat64");
14 extern int __lxstat64(int, const char *, struct stat64
*);
16 extern __inline__
int lstat(const char *path
, struct stat
*statbuf
) {
17 return __lxstat(3, path
, statbuf
);
19 extern __inline__
int lstat64(const char *path
, struct stat64
*statbuf
) {
20 return __lxstat64(3, path
, statbuf
);
24 int do_one_file(void) {
25 return lstat(0, 0) + lstat64(0,0);