about summary refs log tree commit diff homepage
path: root/cmake/fstatat.c
blob: 58aa93014a741661a3c7ea98e1a2fd21baf463dc (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <fcntl.h>
#include <stddef.h>
#include <sys/stat.h>

int main(void) {
  struct stat buf;
  #pragma GCC diagnostic error "-Wnonnull"
  fstatat(0, NULL, &buf, 0);
}