summaryrefslogtreecommitdiff
path: root/tests/test_ppoll_static.c
blob: c5e015544fc519df142fd917155db29089102321 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "common.h"

#define _GNU_SOURCE
#include <poll.h>

int main(int argc, char** argv) {
#if !defined(__clang__)
  struct pollfd buffer[12] = {0};

  CHK_FAIL_START
  ppoll(buffer, 14, NULL, NULL);
  CHK_FAIL_END

  puts((const char*)buffer);
#endif
  return ret;
}